diff --git a/generator/.env b/.env similarity index 100% rename from generator/.env rename to .env diff --git a/Makefile b/Makefile index 1748dfa..fb495d0 100644 --- a/Makefile +++ b/Makefile @@ -2,19 +2,22 @@ LIBRARY_VERSION:=0.0.1 PROVIDER_VERSION:=0.18.0 JSONNET_BIN:=jrsonnet -grafanaplane: grafanaplane/raw.libsonnet grafanaplane/compositions.libsonnet +VENDOR_DEPTHS:=$(shell find generator/vendor -type f) -grafanaplane/raw.libsonnet: generator/main.libsonnet generator/namespaced.libsonnet generator/crds.yaml generator/vendor - $(JSONNET_BIN) -S -J generator/vendor -A 'version=$(LIBRARY_VERSION)-$(PROVIDER_VERSION)' generator/main.libsonnet | jsonnetfmt - > grafanaplane/raw.libsonnet - -grafanaplane/compositions.libsonnet: generator/compositions.libsonnet generator/namespaced.libsonnet generator/crds.yaml generator/vendor - $(JSONNET_BIN) -J generator/vendor generator/compositions.libsonnet | jsonnetfmt - > grafanaplane/compositions.libsonnet +grafanaplane: grafanaplane/main.libsonnet grafanaplane/compositions.libsonnet generator/crds.yaml: cd generator && \ curl -sLO https://github.com/grafana/crossplane-provider-grafana/releases/download/v$(PROVIDER_VERSION)/crds.yaml -docs: grafanaplane +grafanaplane/main.libsonnet: generator/main.libsonnet generator/namespaced.libsonnet generator/crds.yaml $(VENDOR_DEPTHS) + FILES=$$($(JSONNET_BIN) -S -c -m grafanaplane -J generator/vendor -A 'version=$(LIBRARY_VERSION)-$(PROVIDER_VERSION)' generator/main.libsonnet) && \ + xargs -n1 jsonnetfmt -i <<< "$${FILES}" + +grafanaplane/compositions.libsonnet: generator/compositions.libsonnet generator/namespaced.libsonnet generator/crds.yaml $(VENDOR_DEPTHS) + $(JSONNET_BIN) -J generator/vendor generator/compositions.libsonnet | jsonnetfmt - > grafanaplane/compositions.libsonnet + +docs: $(shell find grafanaplane/ -type f) @rm -rf docs/ @$(JSONNET_BIN) \ -J generator/vendor \ diff --git a/docs/README.md b/docs/README.md index 977a11d..d40735e 100644 --- a/docs/README.md +++ b/docs/README.md @@ -5,7 +5,7 @@ Jsonnet library providing a namespaced set of compositions/XRDs for the Grafana The compositions/XRDs can be imported like this: ```jsonnet -local compositions = import "github.com/Duologic/grafana-crossplane-libsonnet/grafanaplane/compositions.libsonnet" +local compositions = import 'github.com/Duologic/grafana-crossplane-libsonnet/grafanaplane/compositions.libsonnet'; [ # Each composition has a `definition` and `composition` key @@ -30,10 +30,11 @@ jb install github.com/Duologic/grafana-crossplane-libsonnet/grafanaplane@0.0.1-0 ## Usage ```jsonnet -local grafanaplane = import "github.com/Duologic/grafana-crossplane-libsonnet/grafanaplane/main.libsonnet" +local grafanaplane = import 'github.com/Duologic/grafana-crossplane-libsonnet/grafanaplane/main.libsonnet'; ``` + ## Subpackages * [alerting](alerting/index.md) diff --git a/generator/jsonnetfile.json b/generator/jsonnetfile.json index bcbc842..8dafba1 100644 --- a/generator/jsonnetfile.json +++ b/generator/jsonnetfile.json @@ -10,6 +10,15 @@ }, "version": "master" }, + { + "source": { + "git": { + "remote": "https://github.com/Duologic/jsonnet-parser.git", + "subdir": "" + } + }, + "version": "master" + }, { "source": { "git": { @@ -20,5 +29,5 @@ "version": "master" } ], - "legacyImports": true + "legacyImports": false } diff --git a/generator/jsonnetfile.lock.json b/generator/jsonnetfile.lock.json index 1d185f2..bb71edc 100644 --- a/generator/jsonnetfile.lock.json +++ b/generator/jsonnetfile.lock.json @@ -8,8 +8,18 @@ "subdir": "" } }, - "version": "c26e17ea5dbddf389e5e65217b679044eb9d627d", - "sum": "esRceW/DxhdnRea+DZTNJg6SGnl/Hb+vX+hi+0o8jOI=" + "version": "f9fd49989b40a2706af64cb1896856fa20aaa4da", + "sum": "IM+5xV6Mat3VD2AUUGt5fYyCComJyVspXH+Tdz+I3Nc=" + }, + { + "source": { + "git": { + "remote": "https://github.com/Duologic/jsonnet-parser.git", + "subdir": "" + } + }, + "version": "4f3ca583ccfa4f6833abe75428677a005bc6b486", + "sum": "0N0SeOSZeD1DaVp7Avj9WpTRVt3tdPrAjxZ0qWr/xrU=" }, { "source": { @@ -18,8 +28,8 @@ "subdir": "" } }, - "version": "a771663cb9594cd10b30815933fe55554e6a3755", - "sum": "k/SJ+F+jjdg+dBMKczPEjcYCEuQ6v0BROdXKdXOCi9o=" + "version": "f810e234468906b2d05b091ae1b5f8c6047090a4", + "sum": "Q1BAaS0EIkBXdOOGXfQrnJlo1wvlVd2JTRIRUhfxTj0=" }, { "source": { diff --git a/generator/main.libsonnet b/generator/main.libsonnet index e17059e..c8907ae 100644 --- a/generator/main.libsonnet +++ b/generator/main.libsonnet @@ -1,8 +1,9 @@ -local d = import './vendor/github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; +local parser = import 'github.com/Duologic/jsonnet-parser/parser.libsonnet'; local a = import 'github.com/crdsonnet/astsonnet/main.libsonnet'; local autils = import 'github.com/crdsonnet/astsonnet/utils.libsonnet'; local helpers = import 'github.com/crdsonnet/crdsonnet/crdsonnet/helpers.libsonnet'; local crdsonnet = import 'github.com/crdsonnet/crdsonnet/crdsonnet/main.libsonnet'; +local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; local processor = crdsonnet.processor.new('ast'); @@ -51,45 +52,56 @@ local mergeDocstring(group, version, name, obj, help='') = obj, ]); -local packageDocString(version='main') = - a.object.new([ - a.field.new( - a.string.new('#'), - a.literal.new( - std.manifestJsonEx( - d.package.new( - 'grafanaplane', - 'github.com/Duologic/grafana-crossplane-libsonnet/grafanaplane', - ||| - Jsonnet library providing a namespaced set of compositions/XRDs for the Grafana Crossplane provider. The compositions, XRDs and the library for creating the XRD objects is generated. - - The compositions/XRDs can be imported like this: - - ```jsonnet - local compositions = import "github.com/Duologic/grafana-crossplane-libsonnet/grafanaplane/compositions.libsonnet" - - [ - # Each composition has a `definition` and `composition` key - compositions.oss.v1alpha1.folder.composition, - compositions.oss.v1alpha1.folder.definition, - - # When using Tanka, then providing the higher level objects is also possible - compositions.cloud.v1alpha1.stack, # a composition/XRD pair - compositions.oss, # whole group of composition/XRD pairs - ] - ``` - - The library in `main.libsonnet` can be used to build objects for these XRDs. - - |||, - 'main.libsonnet', - version - ) - , ' ', '' - ), +local packageDocStringField(version='main') = + a.field.new( + a.string.new('#'), + parser.new( + std.manifestJsonEx( + d.package.new( + 'grafanaplane', + 'github.com/Duologic/grafana-crossplane-libsonnet/grafanaplane', + ||| + Jsonnet library providing a namespaced set of compositions/XRDs for the Grafana Crossplane provider. The compositions, XRDs and the library for creating the XRD objects is generated. + + The compositions/XRDs can be imported like this: + + ```jsonnet + local compositions = import 'github.com/Duologic/grafana-crossplane-libsonnet/grafanaplane/compositions.libsonnet'; + + [ + # Each composition has a `definition` and `composition` key + compositions.oss.v1alpha1.folder.composition, + compositions.oss.v1alpha1.folder.definition, + + # When using Tanka, then providing the higher level objects is also possible + compositions.cloud.v1alpha1.stack, # a composition/XRD pair + compositions.oss, # whole group of composition/XRD pairs + ] + ``` + + The library in `main.libsonnet` can be used to build objects for these XRDs. + + |||, + 'main.libsonnet', + version + ) + + d.package.withUsageTemplate( + @"local %(name)s = import '%(import)s';" + ) + , ' ', '' ), - ), - ]); + ).parse() + + { + members: std.map( + function(member) + if member.fieldname.string == 'help' + then member + { expr+: { textblock: true } } + else member, + super.members, + ), + } + , + ); local ast = std.foldl( @@ -107,6 +119,57 @@ local ast = a.object.withMembers([]), ); -function(version='main') - autils.deepMergeObjects([ast, packageDocString(version)]).toString() +local splitIntoFiles(objast, sub='', depth=1, maxDepth=5) = + local subdir = if sub != '' then sub + '/' else ''; + std.foldl( + function(acc, member) + if member.type == 'field' + && member.expr.type == 'object' + && !std.startsWith(member.fieldname.string, '#') + then + acc + + { + [subdir + 'main.libsonnet']+: + a.object.withMembersMixin([ + member + + a.field.withExpr( + if depth != maxDepth + then a.import_statement.new('./' + member.fieldname.string + '/main.libsonnet') + else a.import_statement.new('./' + member.fieldname.string + '.libsonnet') + ), + ]), + } + + (if depth != maxDepth + then splitIntoFiles(member.expr, subdir + member.fieldname.string, depth + 1) + else { + [subdir + member.fieldname.string + '.libsonnet']: member.expr, + }) + else + acc + + { + [subdir + 'main.libsonnet']+: + a.object.withMembersMixin([member]), + } + , + objast.members, + { + [subdir + 'main.libsonnet']: + a.object.new([]), + } + ); +function(version='main') + local files = splitIntoFiles(ast); + { + [file.key]: file.value.toString() + for file in std.objectKeysValues(files) + } + + { + 'main.libsonnet': + ( + files['main.libsonnet'] + + a.object.withMembersMixin( + [packageDocStringField(version)] + ) + ).toString(), + } diff --git a/generator/namespaced.libsonnet b/generator/namespaced.libsonnet index 65c043c..9e6a986 100644 --- a/generator/namespaced.libsonnet +++ b/generator/namespaced.libsonnet @@ -1,4 +1,4 @@ -local cngen = import 'crossplane-namespaced-libsonnet/main.jsonnet'; +local cngen = import 'github.com/Duologic/crossplane-namespaced-libsonnet/main.jsonnet'; local crds = std.filter( diff --git a/grafanaplane/.gitignore b/grafanaplane/.gitignore deleted file mode 100644 index 80243da..0000000 --- a/grafanaplane/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -vendor/ -jsonnetfile.lock.json diff --git a/grafanaplane/alerting/main.libsonnet b/grafanaplane/alerting/main.libsonnet new file mode 100644 index 0000000..390429a --- /dev/null +++ b/grafanaplane/alerting/main.libsonnet @@ -0,0 +1,4 @@ +{ + '#': { help: '', name: 'alerting' }, + v1alpha1+: import './v1alpha1/main.libsonnet', +} diff --git a/grafanaplane/alerting/v1alpha1/contactPoint/main.libsonnet b/grafanaplane/alerting/v1alpha1/contactPoint/main.libsonnet new file mode 100644 index 0000000..3c54a01 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/contactPoint/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'contactPoint' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'alerting.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'ContactPoint', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/alerting/v1alpha1/contactPoint/metadata/main.libsonnet b/grafanaplane/alerting/v1alpha1/contactPoint/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/contactPoint/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/contactPoint/spec/compositionRef.libsonnet b/grafanaplane/alerting/v1alpha1/contactPoint/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/contactPoint/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/contactPoint/spec/compositionRevisionRef.libsonnet b/grafanaplane/alerting/v1alpha1/contactPoint/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/contactPoint/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/contactPoint/spec/compositionSelector.libsonnet b/grafanaplane/alerting/v1alpha1/contactPoint/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/contactPoint/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/contactPoint/spec/main.libsonnet b/grafanaplane/alerting/v1alpha1/contactPoint/spec/main.libsonnet new file mode 100644 index 0000000..6a6def1 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/contactPoint/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ContactPointSpec defines the desired state of ContactPoint' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ContactPointSpec defines the desired state of ContactPoint' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/alerting/v1alpha1/contactPoint/spec/parameters.libsonnet b/grafanaplane/alerting/v1alpha1/contactPoint/spec/parameters.libsonnet new file mode 100644 index 0000000..b12d850 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/contactPoint/spec/parameters.libsonnet @@ -0,0 +1,5392 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withAlertmanager': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to other Alertmanager instances. (see below for nested schema)\nA contact point that sends notifications to other Alertmanager instances.' } }, + withAlertmanager(value): { + spec+: { + parameters+: { + forProvider+: { + alertmanager: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withAlertmanagerMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to other Alertmanager instances. (see below for nested schema)\nA contact point that sends notifications to other Alertmanager instances.' } }, + withAlertmanagerMixin(value): { + spec+: { + parameters+: { + forProvider+: { + alertmanager+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + alertmanager+: + { + '#': { help: '', name: 'alertmanager' }, + '#withBasicAuthPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe password component of the basic auth credentials to use.' } }, + withBasicAuthPasswordSecretRef(value): { + basicAuthPasswordSecretRef: value, + }, + '#withBasicAuthPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe password component of the basic auth credentials to use.' } }, + withBasicAuthPasswordSecretRefMixin(value): { + basicAuthPasswordSecretRef+: value, + }, + basicAuthPasswordSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + basicAuthPasswordSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + basicAuthPasswordSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + basicAuthPasswordSecretRef+: { + namespace: value, + }, + }, + }, + '#withBasicAuthUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The username component of the basic auth credentials to use.\nThe username component of the basic auth credentials to use.' } }, + withBasicAuthUser(value): { + basicAuthUser: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + settingsSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + settingsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + settingsSecretRef+: { + namespace: value, + }, + }, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe URL of the Alertmanager instance.' } }, + withUrl(value): { + url: value, + }, + }, + '#withDingding': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to DingDing. (see below for nested schema)\nA contact point that sends notifications to DingDing.' } }, + withDingding(value): { + spec+: { + parameters+: { + forProvider+: { + dingding: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withDingdingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to DingDing. (see below for nested schema)\nA contact point that sends notifications to DingDing.' } }, + withDingdingMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dingding+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + dingding+: + { + '#': { help: '', name: 'dingding' }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message.' } }, + withMessage(value): { + message: value, + }, + '#withMessageType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "either 'link' or 'actionCard'\nThe format of message to send - either 'link' or 'actionCard'" } }, + withMessageType(value): { + messageType: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + settingsSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + settingsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + settingsSecretRef+: { + namespace: value, + }, + }, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message.' } }, + withTitle(value): { + title: value, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe DingDing webhook URL.' } }, + withUrl(value): { + url: value, + }, + }, + '#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Defaults to false. Defaults to `false`.' } }, + withDisableProvenance(value=true): { + spec+: { + parameters+: { + forProvider+: { + disableProvenance: value, + }, + }, + }, + }, + '#withDiscord': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications as Discord messages (see below for nested schema)\nA contact point that sends notifications as Discord messages' } }, + withDiscord(value): { + spec+: { + parameters+: { + forProvider+: { + discord: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withDiscordMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications as Discord messages (see below for nested schema)\nA contact point that sends notifications as Discord messages' } }, + withDiscordMixin(value): { + spec+: { + parameters+: { + forProvider+: { + discord+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + discord+: + { + '#': { help: '', name: 'discord' }, + '#withAvatarUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of a custom avatar image to use. Defaults to “.\nThe URL of a custom avatar image to use. Defaults to “.' } }, + withAvatarUrl(value): { + avatarUrl: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message. Defaults to “.' } }, + withMessage(value): { + message: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + settingsSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + settingsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + settingsSecretRef+: { + namespace: value, + }, + }, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated content of the title.' } }, + withTitle(value): { + title: value, + }, + '#withUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe discord webhook URL.' } }, + withUrlSecretRef(value): { + urlSecretRef: value, + }, + '#withUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe discord webhook URL.' } }, + withUrlSecretRefMixin(value): { + urlSecretRef+: value, + }, + urlSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + urlSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + urlSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + urlSecretRef+: { + namespace: value, + }, + }, + }, + '#withUseDiscordUsername': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to use the bot account's plain username instead of \"Grafana.\" Defaults to false.\nWhether to use the bot account's plain username instead of \"Grafana.\" Defaults to `false`." } }, + withUseDiscordUsername(value=true): { + useDiscordUsername: value, + }, + }, + '#withEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to an email address. (see below for nested schema)\nA contact point that sends notifications to an email address.' } }, + withEmail(value): { + spec+: { + parameters+: { + forProvider+: { + email: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withEmailMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to an email address. (see below for nested schema)\nA contact point that sends notifications to an email address.' } }, + withEmailMixin(value): { + spec+: { + parameters+: { + forProvider+: { + email+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + email+: + { + '#': { help: '', name: 'email' }, + '#withAddresses': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) The addresses to send emails to.\nThe addresses to send emails to.' } }, + withAddresses(value): { + addresses: + (if std.isArray(value) + then value + else [value]), + }, + '#withAddressesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) The addresses to send emails to.\nThe addresses to send emails to.' } }, + withAddressesMixin(value): { + addresses+: + (if std.isArray(value) + then value + else [value]), + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the email. Defaults to “.' } }, + withMessage(value): { + message: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + settingsSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + settingsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + settingsSecretRef+: { + namespace: value, + }, + }, + }, + '#withSingleEmail': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to send a single email CC'ing all addresses, rather than a separate email to each address. Defaults to false.\nWhether to send a single email CC'ing all addresses, rather than a separate email to each address. Defaults to `false`." } }, + withSingleEmail(value=true): { + singleEmail: value, + }, + '#withSubject': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated subject line of the email. Defaults to “.\nThe templated subject line of the email. Defaults to “.' } }, + withSubject(value): { + subject: value, + }, + }, + '#withGooglechat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Google Chat. (see below for nested schema)\nA contact point that sends notifications to Google Chat.' } }, + withGooglechat(value): { + spec+: { + parameters+: { + forProvider+: { + googlechat: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withGooglechatMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Google Chat. (see below for nested schema)\nA contact point that sends notifications to Google Chat.' } }, + withGooglechatMixin(value): { + spec+: { + parameters+: { + forProvider+: { + googlechat+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + googlechat+: + { + '#': { help: '', name: 'googlechat' }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message.' } }, + withMessage(value): { + message: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + settingsSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + settingsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + settingsSecretRef+: { + namespace: value, + }, + }, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated content of the title.' } }, + withTitle(value): { + title: value, + }, + '#withUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe Google Chat webhook URL.' } }, + withUrlSecretRef(value): { + urlSecretRef: value, + }, + '#withUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe Google Chat webhook URL.' } }, + withUrlSecretRefMixin(value): { + urlSecretRef+: value, + }, + urlSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + urlSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + urlSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + urlSecretRef+: { + namespace: value, + }, + }, + }, + }, + '#withKafka': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that publishes notifications to Apache Kafka topics. (see below for nested schema)\nA contact point that publishes notifications to Apache Kafka topics.' } }, + withKafka(value): { + spec+: { + parameters+: { + forProvider+: { + kafka: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withKafkaMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that publishes notifications to Apache Kafka topics. (see below for nested schema)\nA contact point that publishes notifications to Apache Kafka topics.' } }, + withKafkaMixin(value): { + spec+: { + parameters+: { + forProvider+: { + kafka+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + kafka+: + { + '#': { help: '', name: 'kafka' }, + '#withApiVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The API version to use when contacting the Kafka REST Server. Supported: v2 (default) and v3. Defaults to v2.\nThe API version to use when contacting the Kafka REST Server. Supported: v2 (default) and v3. Defaults to `v2`.' } }, + withApiVersion(value): { + apiVersion: value, + }, + '#withClusterId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The Id of cluster to use when contacting the Kafka REST Server. Required api_version to be 'v3'\nThe Id of cluster to use when contacting the Kafka REST Server. Required api_version to be 'v3'" } }, + withClusterId(value): { + clusterId: value, + }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated description of the Kafka message.\nThe templated description of the Kafka message.' } }, + withDescription(value): { + description: value, + }, + '#withDetails': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated details to include with the message.\nThe templated details to include with the message.' } }, + withDetails(value): { + details: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password to use when making a call to the Kafka REST Proxy\nThe password to use when making a call to the Kafka REST Proxy' } }, + withPasswordSecretRef(value): { + passwordSecretRef: value, + }, + '#withPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password to use when making a call to the Kafka REST Proxy\nThe password to use when making a call to the Kafka REST Proxy' } }, + withPasswordSecretRefMixin(value): { + passwordSecretRef+: value, + }, + passwordSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + passwordSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + passwordSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + passwordSecretRef+: { + namespace: value, + }, + }, + }, + '#withRestProxyUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The URL of the Kafka REST proxy to send requests to.\nThe URL of the Kafka REST proxy to send requests to.' } }, + withRestProxyUrlSecretRef(value): { + restProxyUrlSecretRef: value, + }, + '#withRestProxyUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The URL of the Kafka REST proxy to send requests to.\nThe URL of the Kafka REST proxy to send requests to.' } }, + withRestProxyUrlSecretRefMixin(value): { + restProxyUrlSecretRef+: value, + }, + restProxyUrlSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + restProxyUrlSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + restProxyUrlSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + restProxyUrlSecretRef+: { + namespace: value, + }, + }, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + settingsSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + settingsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + settingsSecretRef+: { + namespace: value, + }, + }, + }, + '#withTopic': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the Kafka topic to publish to.\nThe name of the Kafka topic to publish to.' } }, + withTopic(value): { + topic: value, + }, + '#withUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The user name to use when making a call to the Kafka REST Proxy\nThe user name to use when making a call to the Kafka REST Proxy' } }, + withUsername(value): { + username: value, + }, + }, + '#withLine': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to LINE.me. (see below for nested schema)\nA contact point that sends notifications to LINE.me.' } }, + withLine(value): { + spec+: { + parameters+: { + forProvider+: { + line: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withLineMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to LINE.me. (see below for nested schema)\nA contact point that sends notifications to LINE.me.' } }, + withLineMixin(value): { + spec+: { + parameters+: { + forProvider+: { + line+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + line+: + { + '#': { help: '', name: 'line' }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated description of the Kafka message.\nThe templated description of the message.' } }, + withDescription(value): { + description: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + settingsSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + settingsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + settingsSecretRef+: { + namespace: value, + }, + }, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message.' } }, + withTitle(value): { + title: value, + }, + '#withTokenSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe bearer token used to authorize the client.' } }, + withTokenSecretRef(value): { + tokenSecretRef: value, + }, + '#withTokenSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe bearer token used to authorize the client.' } }, + withTokenSecretRefMixin(value): { + tokenSecretRef+: value, + }, + tokenSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + tokenSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + tokenSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + tokenSecretRef+: { + namespace: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the contact point.\nThe name of the contact point.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withOncall': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Call. (see below for nested schema)\nA contact point that sends notifications to Grafana On-Call.' } }, + withOncall(value): { + spec+: { + parameters+: { + forProvider+: { + oncall: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withOncallMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Call. (see below for nested schema)\nA contact point that sends notifications to Grafana On-Call.' } }, + withOncallMixin(value): { + spec+: { + parameters+: { + forProvider+: { + oncall+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + oncall+: + { + '#': { help: '', name: 'oncall' }, + '#withAuthorizationCredentialsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'attaches an auth header with this value. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.' } }, + withAuthorizationCredentialsSecretRef(value): { + authorizationCredentialsSecretRef: value, + }, + '#withAuthorizationCredentialsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'attaches an auth header with this value. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.' } }, + withAuthorizationCredentialsSecretRefMixin(value): { + authorizationCredentialsSecretRef+: value, + }, + authorizationCredentialsSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + authorizationCredentialsSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + authorizationCredentialsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + authorizationCredentialsSecretRef+: { + namespace: value, + }, + }, + }, + '#withAuthorizationScheme': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'attaches an auth header with this name. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters.' } }, + withAuthorizationScheme(value): { + authorizationScheme: value, + }, + '#withBasicAuthPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, + withBasicAuthPasswordSecretRef(value): { + basicAuthPasswordSecretRef: value, + }, + '#withBasicAuthPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, + withBasicAuthPasswordSecretRefMixin(value): { + basicAuthPasswordSecretRef+: value, + }, + basicAuthPasswordSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + basicAuthPasswordSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + basicAuthPasswordSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + basicAuthPasswordSecretRef+: { + namespace: value, + }, + }, + }, + '#withBasicAuthUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The username component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, + withBasicAuthUser(value): { + basicAuthUser: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withHttpMethod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The HTTP method to use in the request. Defaults to POST.\nThe HTTP method to use in the request. Defaults to `POST`.' } }, + withHttpMethod(value): { + httpMethod: value, + }, + '#withMaxAlerts': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.\nThe maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.' } }, + withMaxAlerts(value): { + maxAlerts: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nCustom message. You can use template variables.' } }, + withMessage(value): { + message: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + settingsSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + settingsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + settingsSecretRef+: { + namespace: value, + }, + }, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nTemplated title of the message.' } }, + withTitle(value): { + title: value, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe URL to send webhook requests to.' } }, + withUrl(value): { + url: value, + }, + }, + '#withOpsgenie': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to OpsGenie. (see below for nested schema)\nA contact point that sends notifications to OpsGenie.' } }, + withOpsgenie(value): { + spec+: { + parameters+: { + forProvider+: { + opsgenie: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withOpsgenieMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to OpsGenie. (see below for nested schema)\nA contact point that sends notifications to OpsGenie.' } }, + withOpsgenieMixin(value): { + spec+: { + parameters+: { + forProvider+: { + opsgenie+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + opsgenie+: + { + '#': { help: '', name: 'opsgenie' }, + '#withApiKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The OpsGenie API key to use.\nThe OpsGenie API key to use.' } }, + withApiKeySecretRef(value): { + apiKeySecretRef: value, + }, + '#withApiKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The OpsGenie API key to use.\nThe OpsGenie API key to use.' } }, + withApiKeySecretRefMixin(value): { + apiKeySecretRef+: value, + }, + apiKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + apiKeySecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + apiKeySecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + apiKeySecretRef+: { + namespace: value, + }, + }, + }, + '#withAutoClose': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'close alerts in OpsGenie when they resolve in the Alertmanager.\nWhether to auto-close alerts in OpsGenie when they resolve in the Alertmanager.' } }, + withAutoClose(value=true): { + autoClose: value, + }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated description of the Kafka message.\nA templated high-level description to use for the alert.' } }, + withDescription(value): { + description: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message.' } }, + withMessage(value): { + message: value, + }, + '#withOverridePriority': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to allow the alert priority to be configured via the value of the og_priority annotation on the alert.\nWhether to allow the alert priority to be configured via the value of the `og_priority` annotation on the alert.' } }, + withOverridePriority(value=true): { + overridePriority: value, + }, + '#withResponders': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+. (see below for nested schema)\nTeams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+.' } }, + withResponders(value): { + responders: + (if std.isArray(value) + then value + else [value]), + }, + '#withRespondersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+. (see below for nested schema)\nTeams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+.' } }, + withRespondersMixin(value): { + responders+: + (if std.isArray(value) + then value + else [value]), + }, + responders+: + { + '#': { help: '', name: 'responders' }, + '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of this resource.\nID of the responder. Must be specified if name and username are empty.' } }, + withId(value): { + id: value, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the contact point.\nName of the responder. Must be specified if username and id are empty.' } }, + withName(value): { + name: value, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Type of the responder. Supported: team, teams, user, escalation, schedule or a template that is expanded to one of these values.\nType of the responder. Supported: team, teams, user, escalation, schedule or a template that is expanded to one of these values.' } }, + withType(value): { + type: value, + }, + '#withUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The user name to use when making a call to the Kafka REST Proxy\nUser name of the responder. Must be specified if name and id are empty.' } }, + withUsername(value): { + username: value, + }, + }, + '#withSendTagsAs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Whether to send annotations to OpsGenie as Tags, Details, or both. Supported values are tags, details, both, or empty to use the default behavior of Tags.\nWhether to send annotations to OpsGenie as Tags, Details, or both. Supported values are `tags`, `details`, `both`, or empty to use the default behavior of Tags.' } }, + withSendTagsAs(value): { + sendTagsAs: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + settingsSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + settingsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + settingsSecretRef+: { + namespace: value, + }, + }, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nAllows customization of the OpsGenie API URL.' } }, + withUrl(value): { + url: value, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withPagerduty': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to PagerDuty. (see below for nested schema)\nA contact point that sends notifications to PagerDuty.' } }, + withPagerduty(value): { + spec+: { + parameters+: { + forProvider+: { + pagerduty: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPagerdutyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to PagerDuty. (see below for nested schema)\nA contact point that sends notifications to PagerDuty.' } }, + withPagerdutyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + pagerduty+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + pagerduty+: + { + '#': { help: '', name: 'pagerduty' }, + '#withClass': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The class or type of event, for example ping failure.\nThe class or type of event, for example `ping failure`.' } }, + withClass(value): { + class: value, + }, + '#withClient': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the monitoring client that is triggering this event.\nThe name of the monitoring client that is triggering this event.' } }, + withClient(value): { + client: value, + }, + '#withClientUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the monitoring client that is triggering this event.\nThe URL of the monitoring client that is triggering this event.' } }, + withClientUrl(value): { + clientUrl: value, + }, + '#withComponent': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The component being affected by the event.\nThe component being affected by the event.' } }, + withComponent(value): { + component: value, + }, + '#withDetails': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The templated details to include with the message.\nA set of arbitrary key/value pairs that provide further detail about the incident.' } }, + withDetails(value): { + details: value, + }, + '#withDetailsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The templated details to include with the message.\nA set of arbitrary key/value pairs that provide further detail about the incident.' } }, + withDetailsMixin(value): { + details+: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The group to which the provided component belongs to.\nThe group to which the provided component belongs to.' } }, + withGroup(value): { + group: value, + }, + '#withIntegrationKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The PagerDuty API key.\nThe PagerDuty API key.' } }, + withIntegrationKeySecretRef(value): { + integrationKeySecretRef: value, + }, + '#withIntegrationKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The PagerDuty API key.\nThe PagerDuty API key.' } }, + withIntegrationKeySecretRefMixin(value): { + integrationKeySecretRef+: value, + }, + integrationKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + integrationKeySecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + integrationKeySecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + integrationKeySecretRef+: { + namespace: value, + }, + }, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + settingsSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + settingsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + settingsSecretRef+: { + namespace: value, + }, + }, + }, + '#withSeverity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The PagerDuty event severity level. Default is critical.\nThe PagerDuty event severity level. Default is `critical`.' } }, + withSeverity(value): { + severity: value, + }, + '#withSource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The unique location of the affected system.\nThe unique location of the affected system.' } }, + withSource(value): { + source: value, + }, + '#withSummary': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated summary message of the event.\nThe templated summary message of the event.' } }, + withSummary(value): { + summary: value, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe URL to send API requests to' } }, + withUrl(value): { + url: value, + }, + }, + '#withPushover': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Pushover. (see below for nested schema)\nA contact point that sends notifications to Pushover.' } }, + withPushover(value): { + spec+: { + parameters+: { + forProvider+: { + pushover: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPushoverMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Pushover. (see below for nested schema)\nA contact point that sends notifications to Pushover.' } }, + withPushoverMixin(value): { + spec+: { + parameters+: { + forProvider+: { + pushover+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + pushover+: + { + '#': { help: '', name: 'pushover' }, + '#withApiTokenSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Pushover API token.\nThe Pushover API token.' } }, + withApiTokenSecretRef(value): { + apiTokenSecretRef: value, + }, + '#withApiTokenSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Pushover API token.\nThe Pushover API token.' } }, + withApiTokenSecretRefMixin(value): { + apiTokenSecretRef+: value, + }, + apiTokenSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + apiTokenSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + apiTokenSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + apiTokenSecretRef+: { + namespace: value, + }, + }, + }, + '#withDevice': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'separated list of devices to which the event is associated.\nComma-separated list of devices to which the event is associated.' } }, + withDevice(value): { + device: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withExpire': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) How many seconds for which the notification will continue to be retried by Pushover.\nHow many seconds for which the notification will continue to be retried by Pushover.' } }, + withExpire(value): { + expire: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated notification message content.' } }, + withMessage(value): { + message: value, + }, + '#withOkPriority': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The priority level of the resolved event.\nThe priority level of the resolved event.' } }, + withOkPriority(value): { + okPriority: value, + }, + '#withOkSound': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The sound associated with the resolved notification.\nThe sound associated with the resolved notification.' } }, + withOkSound(value): { + okSound: value, + }, + '#withPriority': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The priority level of the event.\nThe priority level of the event.' } }, + withPriority(value): { + priority: value, + }, + '#withRetry': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) How often, in seconds, the Pushover servers will send the same notification to the user.\nHow often, in seconds, the Pushover servers will send the same notification to the user.' } }, + withRetry(value): { + retry: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + settingsSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + settingsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + settingsSecretRef+: { + namespace: value, + }, + }, + }, + '#withSound': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The sound associated with the notification.\nThe sound associated with the notification.' } }, + withSound(value): { + sound: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message.' } }, + withTitle(value): { + title: value, + }, + '#withUploadImage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to send images in the notification or not. Default is true. Requires Grafana to be configured to send images in notifications.\nWhether to send images in the notification or not. Default is true. Requires Grafana to be configured to send images in notifications.' } }, + withUploadImage(value=true): { + uploadImage: value, + }, + '#withUserKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Pushover user key.\nThe Pushover user key.' } }, + withUserKeySecretRef(value): { + userKeySecretRef: value, + }, + '#withUserKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Pushover user key.\nThe Pushover user key.' } }, + withUserKeySecretRefMixin(value): { + userKeySecretRef+: value, + }, + userKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + userKeySecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + userKeySecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + userKeySecretRef+: { + namespace: value, + }, + }, + }, + }, + '#withSensugo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to SensuGo. (see below for nested schema)\nA contact point that sends notifications to SensuGo.' } }, + withSensugo(value): { + spec+: { + parameters+: { + forProvider+: { + sensugo: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withSensugoMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to SensuGo. (see below for nested schema)\nA contact point that sends notifications to SensuGo.' } }, + withSensugoMixin(value): { + spec+: { + parameters+: { + forProvider+: { + sensugo+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + sensugo+: + { + '#': { help: '', name: 'sensugo' }, + '#withApiKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The OpsGenie API key to use.\nThe SensuGo API key.' } }, + withApiKeySecretRef(value): { + apiKeySecretRef: value, + }, + '#withApiKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The OpsGenie API key to use.\nThe SensuGo API key.' } }, + withApiKeySecretRefMixin(value): { + apiKeySecretRef+: value, + }, + apiKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + apiKeySecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + apiKeySecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + apiKeySecretRef+: { + namespace: value, + }, + }, + }, + '#withCheck': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The SensuGo check to which the event should be routed.\nThe SensuGo check to which the event should be routed.' } }, + withCheck(value): { + check: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withEntity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The entity being monitored.\nThe entity being monitored.' } }, + withEntity(value): { + entity: value, + }, + '#withHandler': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) A custom handler to execute in addition to the check.\nA custom handler to execute in addition to the check.' } }, + withHandler(value): { + handler: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nTemplated message content describing the alert.' } }, + withMessage(value): { + message: value, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The namespace in which the check resides.\nThe namespace in which the check resides.' } }, + withNamespace(value): { + namespace: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + settingsSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + settingsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + settingsSecretRef+: { + namespace: value, + }, + }, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe SensuGo URL to send requests to.' } }, + withUrl(value): { + url: value, + }, + }, + '#withSlack': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Slack. (see below for nested schema)\nA contact point that sends notifications to Slack.' } }, + withSlack(value): { + spec+: { + parameters+: { + forProvider+: { + slack: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withSlackMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Slack. (see below for nested schema)\nA contact point that sends notifications to Slack.' } }, + withSlackMixin(value): { + spec+: { + parameters+: { + forProvider+: { + slack+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + slack+: + { + '#': { help: '', name: 'slack' }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withEndpointUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Use this to override the Slack API endpoint URL to send requests to.\nUse this to override the Slack API endpoint URL to send requests to.' } }, + withEndpointUrl(value): { + endpointUrl: value, + }, + '#withIconEmoji': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of a Slack workspace emoji to use as the bot icon.\nThe name of a Slack workspace emoji to use as the bot icon.' } }, + withIconEmoji(value): { + iconEmoji: value, + }, + '#withIconUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) A URL of an image to use as the bot icon.\nA URL of an image to use as the bot icon.' } }, + withIconUrl(value): { + iconUrl: value, + }, + '#withMentionChannel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Describes how to ping the slack channel that messages are being sent to. Options are here for an @here ping, channel for @channel, or empty for no ping.\nDescribes how to ping the slack channel that messages are being sent to. Options are `here` for an @here ping, `channel` for @channel, or empty for no ping.' } }, + withMentionChannel(value): { + mentionChannel: value, + }, + '#withMentionGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'separated list of groups to mention in the message.\nComma-separated list of groups to mention in the message.' } }, + withMentionGroups(value): { + mentionGroups: value, + }, + '#withMentionUsers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'separated list of users to mention in the message.\nComma-separated list of users to mention in the message.' } }, + withMentionUsers(value): { + mentionUsers: value, + }, + '#withRecipient': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Channel, private group, or IM channel (can be an encoded ID or a name) to send messages to.\nChannel, private group, or IM channel (can be an encoded ID or a name) to send messages to.' } }, + withRecipient(value): { + recipient: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + settingsSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + settingsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + settingsSecretRef+: { + namespace: value, + }, + }, + }, + '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Templated content of the message.\nTemplated content of the message.' } }, + withText(value): { + text: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nTemplated title of the message.' } }, + withTitle(value): { + title: value, + }, + '#withTokenSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nA Slack API token,for sending messages directly without the webhook method.' } }, + withTokenSecretRef(value): { + tokenSecretRef: value, + }, + '#withTokenSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nA Slack API token,for sending messages directly without the webhook method.' } }, + withTokenSecretRefMixin(value): { + tokenSecretRef+: value, + }, + tokenSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + tokenSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + tokenSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + tokenSecretRef+: { + namespace: value, + }, + }, + }, + '#withUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nA Slack webhook URL,for sending messages via the webhook method.' } }, + withUrlSecretRef(value): { + urlSecretRef: value, + }, + '#withUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nA Slack webhook URL,for sending messages via the webhook method.' } }, + withUrlSecretRefMixin(value): { + urlSecretRef+: value, + }, + urlSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + urlSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + urlSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + urlSecretRef+: { + namespace: value, + }, + }, + }, + '#withUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The user name to use when making a call to the Kafka REST Proxy\nUsername for the bot to use.' } }, + withUsername(value): { + username: value, + }, + }, + '#withSns': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana. (see below for nested schema)\nA contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana.' } }, + withSns(value): { + spec+: { + parameters+: { + forProvider+: { + sns: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withSnsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana. (see below for nested schema)\nA contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana.' } }, + withSnsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + sns+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + sns+: + { + '#': { help: '', name: 'sns' }, + '#withAccessKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) AWS access key ID used to authenticate with Amazon SNS.\nAWS access key ID used to authenticate with Amazon SNS.' } }, + withAccessKeySecretRef(value): { + accessKeySecretRef: value, + }, + '#withAccessKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) AWS access key ID used to authenticate with Amazon SNS.\nAWS access key ID used to authenticate with Amazon SNS.' } }, + withAccessKeySecretRefMixin(value): { + accessKeySecretRef+: value, + }, + accessKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + accessKeySecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + accessKeySecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + accessKeySecretRef+: { + namespace: value, + }, + }, + }, + '#withAssumeRoleArn': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Amazon Resource Name (ARN) of the role to assume to send notifications to Amazon SNS.\nThe Amazon Resource Name (ARN) of the role to assume to send notifications to Amazon SNS.' } }, + withAssumeRoleArn(value): { + assumeRoleArn: value, + }, + '#withAuthProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The authentication provider to use. Valid values are default, arn and keys. Default is default. Defaults to default.\nThe authentication provider to use. Valid values are `default`, `arn` and `keys`. Default is `default`. Defaults to `default`.' } }, + withAuthProvider(value): { + authProvider: value, + }, + '#withBody': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withBody(value): { + body: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withExternalId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The external ID to use when assuming the role.\nThe external ID to use when assuming the role.' } }, + withExternalId(value): { + externalId: value, + }, + '#withMessageFormat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The format of the message to send. Valid values are text, body and json. Default is text. Defaults to text.\nThe format of the message to send. Valid values are `text`, `body` and `json`. Default is `text`. Defaults to `text`.' } }, + withMessageFormat(value): { + messageFormat: value, + }, + '#withSecretKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) AWS secret access key used to authenticate with Amazon SNS.\nAWS secret access key used to authenticate with Amazon SNS.' } }, + withSecretKeySecretRef(value): { + secretKeySecretRef: value, + }, + '#withSecretKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) AWS secret access key used to authenticate with Amazon SNS.\nAWS secret access key used to authenticate with Amazon SNS.' } }, + withSecretKeySecretRefMixin(value): { + secretKeySecretRef+: value, + }, + secretKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + secretKeySecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + secretKeySecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + secretKeySecretRef+: { + namespace: value, + }, + }, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + settingsSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + settingsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + settingsSecretRef+: { + namespace: value, + }, + }, + }, + '#withSubject': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated subject line of the email. Defaults to “.' } }, + withSubject(value): { + subject: value, + }, + '#withTopic': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the Kafka topic to publish to.\nThe Amazon SNS topic to send notifications to.' } }, + withTopic(value): { + topic: value, + }, + }, + '#withTeams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Microsoft Teams. (see below for nested schema)\nA contact point that sends notifications to Microsoft Teams.' } }, + withTeams(value): { + spec+: { + parameters+: { + forProvider+: { + teams: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withTeamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Microsoft Teams. (see below for nested schema)\nA contact point that sends notifications to Microsoft Teams.' } }, + withTeamsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + teams+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + teams+: + { + '#': { help: '', name: 'teams' }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated message content to send.' } }, + withMessage(value): { + message: value, + }, + '#withSectionTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated subtitle for each message section.\nThe templated subtitle for each message section.' } }, + withSectionTitle(value): { + sectionTitle: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + settingsSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + settingsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + settingsSecretRef+: { + namespace: value, + }, + }, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message.' } }, + withTitle(value): { + title: value, + }, + '#withUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nA Teams webhook URL.' } }, + withUrlSecretRef(value): { + urlSecretRef: value, + }, + '#withUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nA Teams webhook URL.' } }, + withUrlSecretRefMixin(value): { + urlSecretRef+: value, + }, + urlSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + urlSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + urlSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + urlSecretRef+: { + namespace: value, + }, + }, + }, + }, + '#withTelegram': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Telegram. (see below for nested schema)\nA contact point that sends notifications to Telegram.' } }, + withTelegram(value): { + spec+: { + parameters+: { + forProvider+: { + telegram: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withTelegramMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Telegram. (see below for nested schema)\nA contact point that sends notifications to Telegram.' } }, + withTelegramMixin(value): { + spec+: { + parameters+: { + forProvider+: { + telegram+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + telegram+: + { + '#': { help: '', name: 'telegram' }, + '#withChatId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The chat ID to send messages to.\nThe chat ID to send messages to.' } }, + withChatId(value): { + chatId: value, + }, + '#withDisableNotifications': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) When set users will receive a notification with no sound.\nWhen set users will receive a notification with no sound.' } }, + withDisableNotifications(value=true): { + disableNotifications: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withDisableWebPagePreview': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) When set it disables link previews for links in the message.\nWhen set it disables link previews for links in the message.' } }, + withDisableWebPagePreview(value=true): { + disableWebPagePreview: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message.' } }, + withMessage(value): { + message: value, + }, + '#withMessageThreadId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the message thread to send the message to.\nThe ID of the message thread to send the message to.' } }, + withMessageThreadId(value): { + messageThreadId: value, + }, + '#withParseMode': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Mode for parsing entities in the message text. Supported: None, Markdown, MarkdownV2, and HTML. HTML is the default.\nMode for parsing entities in the message text. Supported: None, Markdown, MarkdownV2, and HTML. HTML is the default.' } }, + withParseMode(value): { + parseMode: value, + }, + '#withProtectContent': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) When set it protects the contents of the message from forwarding and saving.\nWhen set it protects the contents of the message from forwarding and saving.' } }, + withProtectContent(value=true): { + protectContent: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + settingsSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + settingsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + settingsSecretRef+: { + namespace: value, + }, + }, + }, + '#withTokenSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe Telegram bot token.' } }, + withTokenSecretRef(value): { + tokenSecretRef: value, + }, + '#withTokenSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe Telegram bot token.' } }, + withTokenSecretRefMixin(value): { + tokenSecretRef+: value, + }, + tokenSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + tokenSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + tokenSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + tokenSecretRef+: { + namespace: value, + }, + }, + }, + }, + '#withThreema': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Threema. (see below for nested schema)\nA contact point that sends notifications to Threema.' } }, + withThreema(value): { + spec+: { + parameters+: { + forProvider+: { + threema: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withThreemaMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Threema. (see below for nested schema)\nA contact point that sends notifications to Threema.' } }, + withThreemaMixin(value): { + spec+: { + parameters+: { + forProvider+: { + threema+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + threema+: + { + '#': { help: '', name: 'threema' }, + '#withApiSecretSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Threema API key.\nThe Threema API key.' } }, + withApiSecretSecretRef(value): { + apiSecretSecretRef: value, + }, + '#withApiSecretSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Threema API key.\nThe Threema API key.' } }, + withApiSecretSecretRefMixin(value): { + apiSecretSecretRef+: value, + }, + apiSecretSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + apiSecretSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + apiSecretSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + apiSecretSecretRef+: { + namespace: value, + }, + }, + }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated description of the Kafka message.\nThe templated description of the message.' } }, + withDescription(value): { + description: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withGatewayId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Threema gateway ID.\nThe Threema gateway ID.' } }, + withGatewayId(value): { + gatewayId: value, + }, + '#withRecipientId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the recipient of the message.\nThe ID of the recipient of the message.' } }, + withRecipientId(value): { + recipientId: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + settingsSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + settingsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + settingsSecretRef+: { + namespace: value, + }, + }, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message.' } }, + withTitle(value): { + title: value, + }, + }, + '#withVictorops': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to VictorOps (now known as Splunk OnCall). (see below for nested schema)\nA contact point that sends notifications to VictorOps (now known as Splunk OnCall).' } }, + withVictorops(value): { + spec+: { + parameters+: { + forProvider+: { + victorops: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withVictoropsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to VictorOps (now known as Splunk OnCall). (see below for nested schema)\nA contact point that sends notifications to VictorOps (now known as Splunk OnCall).' } }, + withVictoropsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + victorops+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + victorops+: + { + '#': { help: '', name: 'victorops' }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated description of the Kafka message.\nTemplated description of the message.' } }, + withDescription(value): { + description: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withMessageType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "either 'link' or 'actionCard'\nThe VictorOps alert state - typically either `CRITICAL` or `RECOVERY`." } }, + withMessageType(value): { + messageType: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + settingsSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + settingsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + settingsSecretRef+: { + namespace: value, + }, + }, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nTemplated title to display.' } }, + withTitle(value): { + title: value, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe VictorOps webhook URL.' } }, + withUrl(value): { + url: value, + }, + }, + '#withWebex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Cisco Webex. (see below for nested schema)\nA contact point that sends notifications to Cisco Webex.' } }, + withWebex(value): { + spec+: { + parameters+: { + forProvider+: { + webex: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withWebexMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Cisco Webex. (see below for nested schema)\nA contact point that sends notifications to Cisco Webex.' } }, + withWebexMixin(value): { + spec+: { + parameters+: { + forProvider+: { + webex+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + webex+: + { + '#': { help: '', name: 'webex' }, + '#withApiUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL to send webhook requests to.\nThe URL to send webhook requests to.' } }, + withApiUrl(value): { + apiUrl: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated title of the message to send.' } }, + withMessage(value): { + message: value, + }, + '#withRoomId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the Webex Teams room where to send the messages.\nID of the Webex Teams room where to send the messages.' } }, + withRoomId(value): { + roomId: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + settingsSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + settingsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + settingsSecretRef+: { + namespace: value, + }, + }, + }, + '#withTokenSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe bearer token used to authorize the client.' } }, + withTokenSecretRef(value): { + tokenSecretRef: value, + }, + '#withTokenSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe bearer token used to authorize the client.' } }, + withTokenSecretRefMixin(value): { + tokenSecretRef+: value, + }, + tokenSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + tokenSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + tokenSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + tokenSecretRef+: { + namespace: value, + }, + }, + }, + }, + '#withWebhook': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config (see below for nested schema)\nA contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config' } }, + withWebhook(value): { + spec+: { + parameters+: { + forProvider+: { + webhook: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withWebhookMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config (see below for nested schema)\nA contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config' } }, + withWebhookMixin(value): { + spec+: { + parameters+: { + forProvider+: { + webhook+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + webhook+: + { + '#': { help: '', name: 'webhook' }, + '#withAuthorizationCredentialsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'attaches an auth header with this value. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.' } }, + withAuthorizationCredentialsSecretRef(value): { + authorizationCredentialsSecretRef: value, + }, + '#withAuthorizationCredentialsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'attaches an auth header with this value. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.' } }, + withAuthorizationCredentialsSecretRefMixin(value): { + authorizationCredentialsSecretRef+: value, + }, + authorizationCredentialsSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + authorizationCredentialsSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + authorizationCredentialsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + authorizationCredentialsSecretRef+: { + namespace: value, + }, + }, + }, + '#withAuthorizationScheme': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'attaches an auth header with this name. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters.' } }, + withAuthorizationScheme(value): { + authorizationScheme: value, + }, + '#withBasicAuthPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, + withBasicAuthPasswordSecretRef(value): { + basicAuthPasswordSecretRef: value, + }, + '#withBasicAuthPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, + withBasicAuthPasswordSecretRefMixin(value): { + basicAuthPasswordSecretRef+: value, + }, + basicAuthPasswordSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + basicAuthPasswordSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + basicAuthPasswordSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + basicAuthPasswordSecretRef+: { + namespace: value, + }, + }, + }, + '#withBasicAuthUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The username component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, + withBasicAuthUser(value): { + basicAuthUser: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withHttpMethod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The HTTP method to use in the request. Defaults to POST.\nThe HTTP method to use in the request. Defaults to `POST`.' } }, + withHttpMethod(value): { + httpMethod: value, + }, + '#withMaxAlerts': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.\nThe maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.' } }, + withMaxAlerts(value): { + maxAlerts: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nCustom message. You can use template variables.' } }, + withMessage(value): { + message: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + settingsSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + settingsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + settingsSecretRef+: { + namespace: value, + }, + }, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nTemplated title of the message.' } }, + withTitle(value): { + title: value, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe URL to send webhook requests to.' } }, + withUrl(value): { + url: value, + }, + }, + '#withWecom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to WeCom. (see below for nested schema)\nA contact point that sends notifications to WeCom.' } }, + withWecom(value): { + spec+: { + parameters+: { + forProvider+: { + wecom: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withWecomMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to WeCom. (see below for nested schema)\nA contact point that sends notifications to WeCom.' } }, + withWecomMixin(value): { + spec+: { + parameters+: { + forProvider+: { + wecom+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + wecom+: + { + '#': { help: '', name: 'wecom' }, + '#withAgentId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Agent ID added to the request payload when using APIAPP.\nAgent ID added to the request payload when using APIAPP.' } }, + withAgentId(value): { + agentId: value, + }, + '#withCorpId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Corp ID used to get token when using APIAPP.\nCorp ID used to get token when using APIAPP.' } }, + withCorpId(value): { + corpId: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message to send.' } }, + withMessage(value): { + message: value, + }, + '#withMsgType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of them message. Supported: markdown, text. Default: text.\nThe type of them message. Supported: markdown, text. Default: text.' } }, + withMsgType(value): { + msgType: value, + }, + '#withSecretSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP.\nThe secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP.' } }, + withSecretSecretRef(value): { + secretSecretRef: value, + }, + '#withSecretSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP.\nThe secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP.' } }, + withSecretSecretRefMixin(value): { + secretSecretRef+: value, + }, + secretSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + secretSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + secretSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + secretSecretRef+: { + namespace: value, + }, + }, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + settingsSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + settingsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + settingsSecretRef+: { + namespace: value, + }, + }, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message to send.' } }, + withTitle(value): { + title: value, + }, + '#withToUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The ID of user that should receive the message. Multiple entries should be separated by '|'. Default: @all.\nThe ID of user that should receive the message. Multiple entries should be separated by '|'. Default: @all." } }, + withToUser(value): { + toUser: value, + }, + '#withUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe WeCom webhook URL. Required if using GroupRobot.' } }, + withUrlSecretRef(value): { + urlSecretRef: value, + }, + '#withUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe WeCom webhook URL. Required if using GroupRobot.' } }, + withUrlSecretRefMixin(value): { + urlSecretRef+: value, + }, + urlSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + urlSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + urlSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + urlSecretRef+: { + namespace: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withAlertmanager': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to other Alertmanager instances. (see below for nested schema)\nA contact point that sends notifications to other Alertmanager instances.' } }, + withAlertmanager(value): { + spec+: { + parameters+: { + initProvider+: { + alertmanager: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withAlertmanagerMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to other Alertmanager instances. (see below for nested schema)\nA contact point that sends notifications to other Alertmanager instances.' } }, + withAlertmanagerMixin(value): { + spec+: { + parameters+: { + initProvider+: { + alertmanager+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + alertmanager+: + { + '#': { help: '', name: 'alertmanager' }, + '#withBasicAuthPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe password component of the basic auth credentials to use.' } }, + withBasicAuthPasswordSecretRef(value): { + basicAuthPasswordSecretRef: value, + }, + '#withBasicAuthPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe password component of the basic auth credentials to use.' } }, + withBasicAuthPasswordSecretRefMixin(value): { + basicAuthPasswordSecretRef+: value, + }, + basicAuthPasswordSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + basicAuthPasswordSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + basicAuthPasswordSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + basicAuthPasswordSecretRef+: { + namespace: value, + }, + }, + }, + '#withBasicAuthUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The username component of the basic auth credentials to use.\nThe username component of the basic auth credentials to use.' } }, + withBasicAuthUser(value): { + basicAuthUser: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe URL of the Alertmanager instance.' } }, + withUrl(value): { + url: value, + }, + }, + '#withDingding': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to DingDing. (see below for nested schema)\nA contact point that sends notifications to DingDing.' } }, + withDingding(value): { + spec+: { + parameters+: { + initProvider+: { + dingding: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withDingdingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to DingDing. (see below for nested schema)\nA contact point that sends notifications to DingDing.' } }, + withDingdingMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dingding+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + dingding+: + { + '#': { help: '', name: 'dingding' }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message.' } }, + withMessage(value): { + message: value, + }, + '#withMessageType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "either 'link' or 'actionCard'\nThe format of message to send - either 'link' or 'actionCard'" } }, + withMessageType(value): { + messageType: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message.' } }, + withTitle(value): { + title: value, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe DingDing webhook URL.' } }, + withUrl(value): { + url: value, + }, + }, + '#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Defaults to false. Defaults to `false`.' } }, + withDisableProvenance(value=true): { + spec+: { + parameters+: { + initProvider+: { + disableProvenance: value, + }, + }, + }, + }, + '#withDiscord': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications as Discord messages (see below for nested schema)\nA contact point that sends notifications as Discord messages' } }, + withDiscord(value): { + spec+: { + parameters+: { + initProvider+: { + discord: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withDiscordMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications as Discord messages (see below for nested schema)\nA contact point that sends notifications as Discord messages' } }, + withDiscordMixin(value): { + spec+: { + parameters+: { + initProvider+: { + discord+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + discord+: + { + '#': { help: '', name: 'discord' }, + '#withAvatarUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of a custom avatar image to use. Defaults to “.\nThe URL of a custom avatar image to use. Defaults to “.' } }, + withAvatarUrl(value): { + avatarUrl: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message. Defaults to “.' } }, + withMessage(value): { + message: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated content of the title.' } }, + withTitle(value): { + title: value, + }, + '#withUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe discord webhook URL.' } }, + withUrlSecretRef(value): { + urlSecretRef: value, + }, + '#withUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe discord webhook URL.' } }, + withUrlSecretRefMixin(value): { + urlSecretRef+: value, + }, + urlSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + urlSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + urlSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + urlSecretRef+: { + namespace: value, + }, + }, + }, + '#withUseDiscordUsername': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to use the bot account's plain username instead of \"Grafana.\" Defaults to false.\nWhether to use the bot account's plain username instead of \"Grafana.\" Defaults to `false`." } }, + withUseDiscordUsername(value=true): { + useDiscordUsername: value, + }, + }, + '#withEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to an email address. (see below for nested schema)\nA contact point that sends notifications to an email address.' } }, + withEmail(value): { + spec+: { + parameters+: { + initProvider+: { + email: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withEmailMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to an email address. (see below for nested schema)\nA contact point that sends notifications to an email address.' } }, + withEmailMixin(value): { + spec+: { + parameters+: { + initProvider+: { + email+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + email+: + { + '#': { help: '', name: 'email' }, + '#withAddresses': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) The addresses to send emails to.\nThe addresses to send emails to.' } }, + withAddresses(value): { + addresses: + (if std.isArray(value) + then value + else [value]), + }, + '#withAddressesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) The addresses to send emails to.\nThe addresses to send emails to.' } }, + withAddressesMixin(value): { + addresses+: + (if std.isArray(value) + then value + else [value]), + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the email. Defaults to “.' } }, + withMessage(value): { + message: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + '#withSingleEmail': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to send a single email CC'ing all addresses, rather than a separate email to each address. Defaults to false.\nWhether to send a single email CC'ing all addresses, rather than a separate email to each address. Defaults to `false`." } }, + withSingleEmail(value=true): { + singleEmail: value, + }, + '#withSubject': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated subject line of the email. Defaults to “.\nThe templated subject line of the email. Defaults to “.' } }, + withSubject(value): { + subject: value, + }, + }, + '#withGooglechat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Google Chat. (see below for nested schema)\nA contact point that sends notifications to Google Chat.' } }, + withGooglechat(value): { + spec+: { + parameters+: { + initProvider+: { + googlechat: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withGooglechatMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Google Chat. (see below for nested schema)\nA contact point that sends notifications to Google Chat.' } }, + withGooglechatMixin(value): { + spec+: { + parameters+: { + initProvider+: { + googlechat+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + googlechat+: + { + '#': { help: '', name: 'googlechat' }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message.' } }, + withMessage(value): { + message: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated content of the title.' } }, + withTitle(value): { + title: value, + }, + '#withUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe Google Chat webhook URL.' } }, + withUrlSecretRef(value): { + urlSecretRef: value, + }, + '#withUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe Google Chat webhook URL.' } }, + withUrlSecretRefMixin(value): { + urlSecretRef+: value, + }, + urlSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + urlSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + urlSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + urlSecretRef+: { + namespace: value, + }, + }, + }, + }, + '#withKafka': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that publishes notifications to Apache Kafka topics. (see below for nested schema)\nA contact point that publishes notifications to Apache Kafka topics.' } }, + withKafka(value): { + spec+: { + parameters+: { + initProvider+: { + kafka: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withKafkaMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that publishes notifications to Apache Kafka topics. (see below for nested schema)\nA contact point that publishes notifications to Apache Kafka topics.' } }, + withKafkaMixin(value): { + spec+: { + parameters+: { + initProvider+: { + kafka+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + kafka+: + { + '#': { help: '', name: 'kafka' }, + '#withApiVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The API version to use when contacting the Kafka REST Server. Supported: v2 (default) and v3. Defaults to v2.\nThe API version to use when contacting the Kafka REST Server. Supported: v2 (default) and v3. Defaults to `v2`.' } }, + withApiVersion(value): { + apiVersion: value, + }, + '#withClusterId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The Id of cluster to use when contacting the Kafka REST Server. Required api_version to be 'v3'\nThe Id of cluster to use when contacting the Kafka REST Server. Required api_version to be 'v3'" } }, + withClusterId(value): { + clusterId: value, + }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated description of the Kafka message.\nThe templated description of the Kafka message.' } }, + withDescription(value): { + description: value, + }, + '#withDetails': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated details to include with the message.\nThe templated details to include with the message.' } }, + withDetails(value): { + details: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password to use when making a call to the Kafka REST Proxy\nThe password to use when making a call to the Kafka REST Proxy' } }, + withPasswordSecretRef(value): { + passwordSecretRef: value, + }, + '#withPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password to use when making a call to the Kafka REST Proxy\nThe password to use when making a call to the Kafka REST Proxy' } }, + withPasswordSecretRefMixin(value): { + passwordSecretRef+: value, + }, + passwordSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + passwordSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + passwordSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + passwordSecretRef+: { + namespace: value, + }, + }, + }, + '#withRestProxyUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The URL of the Kafka REST proxy to send requests to.\nThe URL of the Kafka REST proxy to send requests to.' } }, + withRestProxyUrlSecretRef(value): { + restProxyUrlSecretRef: value, + }, + '#withRestProxyUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The URL of the Kafka REST proxy to send requests to.\nThe URL of the Kafka REST proxy to send requests to.' } }, + withRestProxyUrlSecretRefMixin(value): { + restProxyUrlSecretRef+: value, + }, + restProxyUrlSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + restProxyUrlSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + restProxyUrlSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + restProxyUrlSecretRef+: { + namespace: value, + }, + }, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + '#withTopic': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the Kafka topic to publish to.\nThe name of the Kafka topic to publish to.' } }, + withTopic(value): { + topic: value, + }, + '#withUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The user name to use when making a call to the Kafka REST Proxy\nThe user name to use when making a call to the Kafka REST Proxy' } }, + withUsername(value): { + username: value, + }, + }, + '#withLine': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to LINE.me. (see below for nested schema)\nA contact point that sends notifications to LINE.me.' } }, + withLine(value): { + spec+: { + parameters+: { + initProvider+: { + line: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withLineMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to LINE.me. (see below for nested schema)\nA contact point that sends notifications to LINE.me.' } }, + withLineMixin(value): { + spec+: { + parameters+: { + initProvider+: { + line+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + line+: + { + '#': { help: '', name: 'line' }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated description of the Kafka message.\nThe templated description of the message.' } }, + withDescription(value): { + description: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message.' } }, + withTitle(value): { + title: value, + }, + '#withTokenSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe bearer token used to authorize the client.' } }, + withTokenSecretRef(value): { + tokenSecretRef: value, + }, + '#withTokenSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe bearer token used to authorize the client.' } }, + withTokenSecretRefMixin(value): { + tokenSecretRef+: value, + }, + tokenSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + tokenSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + tokenSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + tokenSecretRef+: { + namespace: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the contact point.\nThe name of the contact point.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withOncall': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Call. (see below for nested schema)\nA contact point that sends notifications to Grafana On-Call.' } }, + withOncall(value): { + spec+: { + parameters+: { + initProvider+: { + oncall: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withOncallMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Call. (see below for nested schema)\nA contact point that sends notifications to Grafana On-Call.' } }, + withOncallMixin(value): { + spec+: { + parameters+: { + initProvider+: { + oncall+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + oncall+: + { + '#': { help: '', name: 'oncall' }, + '#withAuthorizationCredentialsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'attaches an auth header with this value. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.' } }, + withAuthorizationCredentialsSecretRef(value): { + authorizationCredentialsSecretRef: value, + }, + '#withAuthorizationCredentialsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'attaches an auth header with this value. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.' } }, + withAuthorizationCredentialsSecretRefMixin(value): { + authorizationCredentialsSecretRef+: value, + }, + authorizationCredentialsSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + authorizationCredentialsSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + authorizationCredentialsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + authorizationCredentialsSecretRef+: { + namespace: value, + }, + }, + }, + '#withAuthorizationScheme': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'attaches an auth header with this name. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters.' } }, + withAuthorizationScheme(value): { + authorizationScheme: value, + }, + '#withBasicAuthPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, + withBasicAuthPasswordSecretRef(value): { + basicAuthPasswordSecretRef: value, + }, + '#withBasicAuthPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, + withBasicAuthPasswordSecretRefMixin(value): { + basicAuthPasswordSecretRef+: value, + }, + basicAuthPasswordSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + basicAuthPasswordSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + basicAuthPasswordSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + basicAuthPasswordSecretRef+: { + namespace: value, + }, + }, + }, + '#withBasicAuthUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The username component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, + withBasicAuthUser(value): { + basicAuthUser: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withHttpMethod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The HTTP method to use in the request. Defaults to POST.\nThe HTTP method to use in the request. Defaults to `POST`.' } }, + withHttpMethod(value): { + httpMethod: value, + }, + '#withMaxAlerts': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.\nThe maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.' } }, + withMaxAlerts(value): { + maxAlerts: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nCustom message. You can use template variables.' } }, + withMessage(value): { + message: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nTemplated title of the message.' } }, + withTitle(value): { + title: value, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe URL to send webhook requests to.' } }, + withUrl(value): { + url: value, + }, + }, + '#withOpsgenie': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to OpsGenie. (see below for nested schema)\nA contact point that sends notifications to OpsGenie.' } }, + withOpsgenie(value): { + spec+: { + parameters+: { + initProvider+: { + opsgenie: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withOpsgenieMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to OpsGenie. (see below for nested schema)\nA contact point that sends notifications to OpsGenie.' } }, + withOpsgenieMixin(value): { + spec+: { + parameters+: { + initProvider+: { + opsgenie+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + opsgenie+: + { + '#': { help: '', name: 'opsgenie' }, + '#withApiKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The OpsGenie API key to use.\nThe OpsGenie API key to use.' } }, + withApiKeySecretRef(value): { + apiKeySecretRef: value, + }, + '#withApiKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The OpsGenie API key to use.\nThe OpsGenie API key to use.' } }, + withApiKeySecretRefMixin(value): { + apiKeySecretRef+: value, + }, + apiKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + apiKeySecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + apiKeySecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + apiKeySecretRef+: { + namespace: value, + }, + }, + }, + '#withAutoClose': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'close alerts in OpsGenie when they resolve in the Alertmanager.\nWhether to auto-close alerts in OpsGenie when they resolve in the Alertmanager.' } }, + withAutoClose(value=true): { + autoClose: value, + }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated description of the Kafka message.\nA templated high-level description to use for the alert.' } }, + withDescription(value): { + description: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message.' } }, + withMessage(value): { + message: value, + }, + '#withOverridePriority': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to allow the alert priority to be configured via the value of the og_priority annotation on the alert.\nWhether to allow the alert priority to be configured via the value of the `og_priority` annotation on the alert.' } }, + withOverridePriority(value=true): { + overridePriority: value, + }, + '#withResponders': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+. (see below for nested schema)\nTeams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+.' } }, + withResponders(value): { + responders: + (if std.isArray(value) + then value + else [value]), + }, + '#withRespondersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+. (see below for nested schema)\nTeams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+.' } }, + withRespondersMixin(value): { + responders+: + (if std.isArray(value) + then value + else [value]), + }, + responders+: + { + '#': { help: '', name: 'responders' }, + '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of this resource.\nID of the responder. Must be specified if name and username are empty.' } }, + withId(value): { + id: value, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the contact point.\nName of the responder. Must be specified if username and id are empty.' } }, + withName(value): { + name: value, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Type of the responder. Supported: team, teams, user, escalation, schedule or a template that is expanded to one of these values.\nType of the responder. Supported: team, teams, user, escalation, schedule or a template that is expanded to one of these values.' } }, + withType(value): { + type: value, + }, + '#withUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The user name to use when making a call to the Kafka REST Proxy\nUser name of the responder. Must be specified if name and id are empty.' } }, + withUsername(value): { + username: value, + }, + }, + '#withSendTagsAs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Whether to send annotations to OpsGenie as Tags, Details, or both. Supported values are tags, details, both, or empty to use the default behavior of Tags.\nWhether to send annotations to OpsGenie as Tags, Details, or both. Supported values are `tags`, `details`, `both`, or empty to use the default behavior of Tags.' } }, + withSendTagsAs(value): { + sendTagsAs: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nAllows customization of the OpsGenie API URL.' } }, + withUrl(value): { + url: value, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withPagerduty': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to PagerDuty. (see below for nested schema)\nA contact point that sends notifications to PagerDuty.' } }, + withPagerduty(value): { + spec+: { + parameters+: { + initProvider+: { + pagerduty: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPagerdutyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to PagerDuty. (see below for nested schema)\nA contact point that sends notifications to PagerDuty.' } }, + withPagerdutyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + pagerduty+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + pagerduty+: + { + '#': { help: '', name: 'pagerduty' }, + '#withClass': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The class or type of event, for example ping failure.\nThe class or type of event, for example `ping failure`.' } }, + withClass(value): { + class: value, + }, + '#withClient': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the monitoring client that is triggering this event.\nThe name of the monitoring client that is triggering this event.' } }, + withClient(value): { + client: value, + }, + '#withClientUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the monitoring client that is triggering this event.\nThe URL of the monitoring client that is triggering this event.' } }, + withClientUrl(value): { + clientUrl: value, + }, + '#withComponent': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The component being affected by the event.\nThe component being affected by the event.' } }, + withComponent(value): { + component: value, + }, + '#withDetails': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The templated details to include with the message.\nA set of arbitrary key/value pairs that provide further detail about the incident.' } }, + withDetails(value): { + details: value, + }, + '#withDetailsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The templated details to include with the message.\nA set of arbitrary key/value pairs that provide further detail about the incident.' } }, + withDetailsMixin(value): { + details+: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The group to which the provided component belongs to.\nThe group to which the provided component belongs to.' } }, + withGroup(value): { + group: value, + }, + '#withIntegrationKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The PagerDuty API key.\nThe PagerDuty API key.' } }, + withIntegrationKeySecretRef(value): { + integrationKeySecretRef: value, + }, + '#withIntegrationKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The PagerDuty API key.\nThe PagerDuty API key.' } }, + withIntegrationKeySecretRefMixin(value): { + integrationKeySecretRef+: value, + }, + integrationKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + integrationKeySecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + integrationKeySecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + integrationKeySecretRef+: { + namespace: value, + }, + }, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + '#withSeverity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The PagerDuty event severity level. Default is critical.\nThe PagerDuty event severity level. Default is `critical`.' } }, + withSeverity(value): { + severity: value, + }, + '#withSource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The unique location of the affected system.\nThe unique location of the affected system.' } }, + withSource(value): { + source: value, + }, + '#withSummary': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated summary message of the event.\nThe templated summary message of the event.' } }, + withSummary(value): { + summary: value, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe URL to send API requests to' } }, + withUrl(value): { + url: value, + }, + }, + '#withPushover': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Pushover. (see below for nested schema)\nA contact point that sends notifications to Pushover.' } }, + withPushover(value): { + spec+: { + parameters+: { + initProvider+: { + pushover: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPushoverMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Pushover. (see below for nested schema)\nA contact point that sends notifications to Pushover.' } }, + withPushoverMixin(value): { + spec+: { + parameters+: { + initProvider+: { + pushover+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + pushover+: + { + '#': { help: '', name: 'pushover' }, + '#withApiTokenSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Pushover API token.\nThe Pushover API token.' } }, + withApiTokenSecretRef(value): { + apiTokenSecretRef: value, + }, + '#withApiTokenSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Pushover API token.\nThe Pushover API token.' } }, + withApiTokenSecretRefMixin(value): { + apiTokenSecretRef+: value, + }, + apiTokenSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + apiTokenSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + apiTokenSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + apiTokenSecretRef+: { + namespace: value, + }, + }, + }, + '#withDevice': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'separated list of devices to which the event is associated.\nComma-separated list of devices to which the event is associated.' } }, + withDevice(value): { + device: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withExpire': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) How many seconds for which the notification will continue to be retried by Pushover.\nHow many seconds for which the notification will continue to be retried by Pushover.' } }, + withExpire(value): { + expire: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated notification message content.' } }, + withMessage(value): { + message: value, + }, + '#withOkPriority': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The priority level of the resolved event.\nThe priority level of the resolved event.' } }, + withOkPriority(value): { + okPriority: value, + }, + '#withOkSound': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The sound associated with the resolved notification.\nThe sound associated with the resolved notification.' } }, + withOkSound(value): { + okSound: value, + }, + '#withPriority': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The priority level of the event.\nThe priority level of the event.' } }, + withPriority(value): { + priority: value, + }, + '#withRetry': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) How often, in seconds, the Pushover servers will send the same notification to the user.\nHow often, in seconds, the Pushover servers will send the same notification to the user.' } }, + withRetry(value): { + retry: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + '#withSound': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The sound associated with the notification.\nThe sound associated with the notification.' } }, + withSound(value): { + sound: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message.' } }, + withTitle(value): { + title: value, + }, + '#withUploadImage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to send images in the notification or not. Default is true. Requires Grafana to be configured to send images in notifications.\nWhether to send images in the notification or not. Default is true. Requires Grafana to be configured to send images in notifications.' } }, + withUploadImage(value=true): { + uploadImage: value, + }, + '#withUserKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Pushover user key.\nThe Pushover user key.' } }, + withUserKeySecretRef(value): { + userKeySecretRef: value, + }, + '#withUserKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Pushover user key.\nThe Pushover user key.' } }, + withUserKeySecretRefMixin(value): { + userKeySecretRef+: value, + }, + userKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + userKeySecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + userKeySecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + userKeySecretRef+: { + namespace: value, + }, + }, + }, + }, + '#withSensugo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to SensuGo. (see below for nested schema)\nA contact point that sends notifications to SensuGo.' } }, + withSensugo(value): { + spec+: { + parameters+: { + initProvider+: { + sensugo: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withSensugoMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to SensuGo. (see below for nested schema)\nA contact point that sends notifications to SensuGo.' } }, + withSensugoMixin(value): { + spec+: { + parameters+: { + initProvider+: { + sensugo+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + sensugo+: + { + '#': { help: '', name: 'sensugo' }, + '#withApiKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The OpsGenie API key to use.\nThe SensuGo API key.' } }, + withApiKeySecretRef(value): { + apiKeySecretRef: value, + }, + '#withApiKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The OpsGenie API key to use.\nThe SensuGo API key.' } }, + withApiKeySecretRefMixin(value): { + apiKeySecretRef+: value, + }, + apiKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + apiKeySecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + apiKeySecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + apiKeySecretRef+: { + namespace: value, + }, + }, + }, + '#withCheck': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The SensuGo check to which the event should be routed.\nThe SensuGo check to which the event should be routed.' } }, + withCheck(value): { + check: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withEntity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The entity being monitored.\nThe entity being monitored.' } }, + withEntity(value): { + entity: value, + }, + '#withHandler': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) A custom handler to execute in addition to the check.\nA custom handler to execute in addition to the check.' } }, + withHandler(value): { + handler: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nTemplated message content describing the alert.' } }, + withMessage(value): { + message: value, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The namespace in which the check resides.\nThe namespace in which the check resides.' } }, + withNamespace(value): { + namespace: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe SensuGo URL to send requests to.' } }, + withUrl(value): { + url: value, + }, + }, + '#withSlack': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Slack. (see below for nested schema)\nA contact point that sends notifications to Slack.' } }, + withSlack(value): { + spec+: { + parameters+: { + initProvider+: { + slack: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withSlackMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Slack. (see below for nested schema)\nA contact point that sends notifications to Slack.' } }, + withSlackMixin(value): { + spec+: { + parameters+: { + initProvider+: { + slack+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + slack+: + { + '#': { help: '', name: 'slack' }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withEndpointUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Use this to override the Slack API endpoint URL to send requests to.\nUse this to override the Slack API endpoint URL to send requests to.' } }, + withEndpointUrl(value): { + endpointUrl: value, + }, + '#withIconEmoji': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of a Slack workspace emoji to use as the bot icon.\nThe name of a Slack workspace emoji to use as the bot icon.' } }, + withIconEmoji(value): { + iconEmoji: value, + }, + '#withIconUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) A URL of an image to use as the bot icon.\nA URL of an image to use as the bot icon.' } }, + withIconUrl(value): { + iconUrl: value, + }, + '#withMentionChannel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Describes how to ping the slack channel that messages are being sent to. Options are here for an @here ping, channel for @channel, or empty for no ping.\nDescribes how to ping the slack channel that messages are being sent to. Options are `here` for an @here ping, `channel` for @channel, or empty for no ping.' } }, + withMentionChannel(value): { + mentionChannel: value, + }, + '#withMentionGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'separated list of groups to mention in the message.\nComma-separated list of groups to mention in the message.' } }, + withMentionGroups(value): { + mentionGroups: value, + }, + '#withMentionUsers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'separated list of users to mention in the message.\nComma-separated list of users to mention in the message.' } }, + withMentionUsers(value): { + mentionUsers: value, + }, + '#withRecipient': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Channel, private group, or IM channel (can be an encoded ID or a name) to send messages to.\nChannel, private group, or IM channel (can be an encoded ID or a name) to send messages to.' } }, + withRecipient(value): { + recipient: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Templated content of the message.\nTemplated content of the message.' } }, + withText(value): { + text: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nTemplated title of the message.' } }, + withTitle(value): { + title: value, + }, + '#withTokenSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nA Slack API token,for sending messages directly without the webhook method.' } }, + withTokenSecretRef(value): { + tokenSecretRef: value, + }, + '#withTokenSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nA Slack API token,for sending messages directly without the webhook method.' } }, + withTokenSecretRefMixin(value): { + tokenSecretRef+: value, + }, + tokenSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + tokenSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + tokenSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + tokenSecretRef+: { + namespace: value, + }, + }, + }, + '#withUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nA Slack webhook URL,for sending messages via the webhook method.' } }, + withUrlSecretRef(value): { + urlSecretRef: value, + }, + '#withUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nA Slack webhook URL,for sending messages via the webhook method.' } }, + withUrlSecretRefMixin(value): { + urlSecretRef+: value, + }, + urlSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + urlSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + urlSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + urlSecretRef+: { + namespace: value, + }, + }, + }, + '#withUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The user name to use when making a call to the Kafka REST Proxy\nUsername for the bot to use.' } }, + withUsername(value): { + username: value, + }, + }, + '#withSns': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana. (see below for nested schema)\nA contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana.' } }, + withSns(value): { + spec+: { + parameters+: { + initProvider+: { + sns: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withSnsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana. (see below for nested schema)\nA contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana.' } }, + withSnsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + sns+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + sns+: + { + '#': { help: '', name: 'sns' }, + '#withAccessKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) AWS access key ID used to authenticate with Amazon SNS.\nAWS access key ID used to authenticate with Amazon SNS.' } }, + withAccessKeySecretRef(value): { + accessKeySecretRef: value, + }, + '#withAccessKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) AWS access key ID used to authenticate with Amazon SNS.\nAWS access key ID used to authenticate with Amazon SNS.' } }, + withAccessKeySecretRefMixin(value): { + accessKeySecretRef+: value, + }, + accessKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + accessKeySecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + accessKeySecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + accessKeySecretRef+: { + namespace: value, + }, + }, + }, + '#withAssumeRoleArn': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Amazon Resource Name (ARN) of the role to assume to send notifications to Amazon SNS.\nThe Amazon Resource Name (ARN) of the role to assume to send notifications to Amazon SNS.' } }, + withAssumeRoleArn(value): { + assumeRoleArn: value, + }, + '#withAuthProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The authentication provider to use. Valid values are default, arn and keys. Default is default. Defaults to default.\nThe authentication provider to use. Valid values are `default`, `arn` and `keys`. Default is `default`. Defaults to `default`.' } }, + withAuthProvider(value): { + authProvider: value, + }, + '#withBody': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withBody(value): { + body: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withExternalId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The external ID to use when assuming the role.\nThe external ID to use when assuming the role.' } }, + withExternalId(value): { + externalId: value, + }, + '#withMessageFormat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The format of the message to send. Valid values are text, body and json. Default is text. Defaults to text.\nThe format of the message to send. Valid values are `text`, `body` and `json`. Default is `text`. Defaults to `text`.' } }, + withMessageFormat(value): { + messageFormat: value, + }, + '#withSecretKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) AWS secret access key used to authenticate with Amazon SNS.\nAWS secret access key used to authenticate with Amazon SNS.' } }, + withSecretKeySecretRef(value): { + secretKeySecretRef: value, + }, + '#withSecretKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) AWS secret access key used to authenticate with Amazon SNS.\nAWS secret access key used to authenticate with Amazon SNS.' } }, + withSecretKeySecretRefMixin(value): { + secretKeySecretRef+: value, + }, + secretKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + secretKeySecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + secretKeySecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + secretKeySecretRef+: { + namespace: value, + }, + }, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + '#withSubject': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated subject line of the email. Defaults to “.' } }, + withSubject(value): { + subject: value, + }, + '#withTopic': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the Kafka topic to publish to.\nThe Amazon SNS topic to send notifications to.' } }, + withTopic(value): { + topic: value, + }, + }, + '#withTeams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Microsoft Teams. (see below for nested schema)\nA contact point that sends notifications to Microsoft Teams.' } }, + withTeams(value): { + spec+: { + parameters+: { + initProvider+: { + teams: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withTeamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Microsoft Teams. (see below for nested schema)\nA contact point that sends notifications to Microsoft Teams.' } }, + withTeamsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + teams+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + teams+: + { + '#': { help: '', name: 'teams' }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated message content to send.' } }, + withMessage(value): { + message: value, + }, + '#withSectionTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated subtitle for each message section.\nThe templated subtitle for each message section.' } }, + withSectionTitle(value): { + sectionTitle: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message.' } }, + withTitle(value): { + title: value, + }, + '#withUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nA Teams webhook URL.' } }, + withUrlSecretRef(value): { + urlSecretRef: value, + }, + '#withUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nA Teams webhook URL.' } }, + withUrlSecretRefMixin(value): { + urlSecretRef+: value, + }, + urlSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + urlSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + urlSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + urlSecretRef+: { + namespace: value, + }, + }, + }, + }, + '#withTelegram': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Telegram. (see below for nested schema)\nA contact point that sends notifications to Telegram.' } }, + withTelegram(value): { + spec+: { + parameters+: { + initProvider+: { + telegram: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withTelegramMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Telegram. (see below for nested schema)\nA contact point that sends notifications to Telegram.' } }, + withTelegramMixin(value): { + spec+: { + parameters+: { + initProvider+: { + telegram+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + telegram+: + { + '#': { help: '', name: 'telegram' }, + '#withChatId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The chat ID to send messages to.\nThe chat ID to send messages to.' } }, + withChatId(value): { + chatId: value, + }, + '#withDisableNotifications': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) When set users will receive a notification with no sound.\nWhen set users will receive a notification with no sound.' } }, + withDisableNotifications(value=true): { + disableNotifications: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withDisableWebPagePreview': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) When set it disables link previews for links in the message.\nWhen set it disables link previews for links in the message.' } }, + withDisableWebPagePreview(value=true): { + disableWebPagePreview: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message.' } }, + withMessage(value): { + message: value, + }, + '#withMessageThreadId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the message thread to send the message to.\nThe ID of the message thread to send the message to.' } }, + withMessageThreadId(value): { + messageThreadId: value, + }, + '#withParseMode': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Mode for parsing entities in the message text. Supported: None, Markdown, MarkdownV2, and HTML. HTML is the default.\nMode for parsing entities in the message text. Supported: None, Markdown, MarkdownV2, and HTML. HTML is the default.' } }, + withParseMode(value): { + parseMode: value, + }, + '#withProtectContent': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) When set it protects the contents of the message from forwarding and saving.\nWhen set it protects the contents of the message from forwarding and saving.' } }, + withProtectContent(value=true): { + protectContent: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + '#withTokenSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe Telegram bot token.' } }, + withTokenSecretRef(value): { + tokenSecretRef: value, + }, + '#withTokenSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe Telegram bot token.' } }, + withTokenSecretRefMixin(value): { + tokenSecretRef+: value, + }, + tokenSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + tokenSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + tokenSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + tokenSecretRef+: { + namespace: value, + }, + }, + }, + }, + '#withThreema': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Threema. (see below for nested schema)\nA contact point that sends notifications to Threema.' } }, + withThreema(value): { + spec+: { + parameters+: { + initProvider+: { + threema: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withThreemaMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Threema. (see below for nested schema)\nA contact point that sends notifications to Threema.' } }, + withThreemaMixin(value): { + spec+: { + parameters+: { + initProvider+: { + threema+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + threema+: + { + '#': { help: '', name: 'threema' }, + '#withApiSecretSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Threema API key.\nThe Threema API key.' } }, + withApiSecretSecretRef(value): { + apiSecretSecretRef: value, + }, + '#withApiSecretSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Threema API key.\nThe Threema API key.' } }, + withApiSecretSecretRefMixin(value): { + apiSecretSecretRef+: value, + }, + apiSecretSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + apiSecretSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + apiSecretSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + apiSecretSecretRef+: { + namespace: value, + }, + }, + }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated description of the Kafka message.\nThe templated description of the message.' } }, + withDescription(value): { + description: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withGatewayId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Threema gateway ID.\nThe Threema gateway ID.' } }, + withGatewayId(value): { + gatewayId: value, + }, + '#withRecipientId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the recipient of the message.\nThe ID of the recipient of the message.' } }, + withRecipientId(value): { + recipientId: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message.' } }, + withTitle(value): { + title: value, + }, + }, + '#withVictorops': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to VictorOps (now known as Splunk OnCall). (see below for nested schema)\nA contact point that sends notifications to VictorOps (now known as Splunk OnCall).' } }, + withVictorops(value): { + spec+: { + parameters+: { + initProvider+: { + victorops: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withVictoropsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to VictorOps (now known as Splunk OnCall). (see below for nested schema)\nA contact point that sends notifications to VictorOps (now known as Splunk OnCall).' } }, + withVictoropsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + victorops+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + victorops+: + { + '#': { help: '', name: 'victorops' }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated description of the Kafka message.\nTemplated description of the message.' } }, + withDescription(value): { + description: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withMessageType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "either 'link' or 'actionCard'\nThe VictorOps alert state - typically either `CRITICAL` or `RECOVERY`." } }, + withMessageType(value): { + messageType: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nTemplated title to display.' } }, + withTitle(value): { + title: value, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe VictorOps webhook URL.' } }, + withUrl(value): { + url: value, + }, + }, + '#withWebex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Cisco Webex. (see below for nested schema)\nA contact point that sends notifications to Cisco Webex.' } }, + withWebex(value): { + spec+: { + parameters+: { + initProvider+: { + webex: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withWebexMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Cisco Webex. (see below for nested schema)\nA contact point that sends notifications to Cisco Webex.' } }, + withWebexMixin(value): { + spec+: { + parameters+: { + initProvider+: { + webex+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + webex+: + { + '#': { help: '', name: 'webex' }, + '#withApiUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL to send webhook requests to.\nThe URL to send webhook requests to.' } }, + withApiUrl(value): { + apiUrl: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated title of the message to send.' } }, + withMessage(value): { + message: value, + }, + '#withRoomId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the Webex Teams room where to send the messages.\nID of the Webex Teams room where to send the messages.' } }, + withRoomId(value): { + roomId: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + '#withTokenSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe bearer token used to authorize the client.' } }, + withTokenSecretRef(value): { + tokenSecretRef: value, + }, + '#withTokenSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe bearer token used to authorize the client.' } }, + withTokenSecretRefMixin(value): { + tokenSecretRef+: value, + }, + tokenSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + tokenSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + tokenSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + tokenSecretRef+: { + namespace: value, + }, + }, + }, + }, + '#withWebhook': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config (see below for nested schema)\nA contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config' } }, + withWebhook(value): { + spec+: { + parameters+: { + initProvider+: { + webhook: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withWebhookMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config (see below for nested schema)\nA contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config' } }, + withWebhookMixin(value): { + spec+: { + parameters+: { + initProvider+: { + webhook+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + webhook+: + { + '#': { help: '', name: 'webhook' }, + '#withAuthorizationCredentialsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'attaches an auth header with this value. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.' } }, + withAuthorizationCredentialsSecretRef(value): { + authorizationCredentialsSecretRef: value, + }, + '#withAuthorizationCredentialsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'attaches an auth header with this value. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.' } }, + withAuthorizationCredentialsSecretRefMixin(value): { + authorizationCredentialsSecretRef+: value, + }, + authorizationCredentialsSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + authorizationCredentialsSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + authorizationCredentialsSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + authorizationCredentialsSecretRef+: { + namespace: value, + }, + }, + }, + '#withAuthorizationScheme': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'attaches an auth header with this name. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters.' } }, + withAuthorizationScheme(value): { + authorizationScheme: value, + }, + '#withBasicAuthPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, + withBasicAuthPasswordSecretRef(value): { + basicAuthPasswordSecretRef: value, + }, + '#withBasicAuthPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, + withBasicAuthPasswordSecretRefMixin(value): { + basicAuthPasswordSecretRef+: value, + }, + basicAuthPasswordSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + basicAuthPasswordSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + basicAuthPasswordSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + basicAuthPasswordSecretRef+: { + namespace: value, + }, + }, + }, + '#withBasicAuthUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The username component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, + withBasicAuthUser(value): { + basicAuthUser: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withHttpMethod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The HTTP method to use in the request. Defaults to POST.\nThe HTTP method to use in the request. Defaults to `POST`.' } }, + withHttpMethod(value): { + httpMethod: value, + }, + '#withMaxAlerts': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.\nThe maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.' } }, + withMaxAlerts(value): { + maxAlerts: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nCustom message. You can use template variables.' } }, + withMessage(value): { + message: value, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nTemplated title of the message.' } }, + withTitle(value): { + title: value, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe URL to send webhook requests to.' } }, + withUrl(value): { + url: value, + }, + }, + '#withWecom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to WeCom. (see below for nested schema)\nA contact point that sends notifications to WeCom.' } }, + withWecom(value): { + spec+: { + parameters+: { + initProvider+: { + wecom: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withWecomMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to WeCom. (see below for nested schema)\nA contact point that sends notifications to WeCom.' } }, + withWecomMixin(value): { + spec+: { + parameters+: { + initProvider+: { + wecom+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + wecom+: + { + '#': { help: '', name: 'wecom' }, + '#withAgentId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Agent ID added to the request payload when using APIAPP.\nAgent ID added to the request payload when using APIAPP.' } }, + withAgentId(value): { + agentId: value, + }, + '#withCorpId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Corp ID used to get token when using APIAPP.\nCorp ID used to get token when using APIAPP.' } }, + withCorpId(value): { + corpId: value, + }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message to send.' } }, + withMessage(value): { + message: value, + }, + '#withMsgType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of them message. Supported: markdown, text. Default: text.\nThe type of them message. Supported: markdown, text. Default: text.' } }, + withMsgType(value): { + msgType: value, + }, + '#withSecretSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP.\nThe secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP.' } }, + withSecretSecretRef(value): { + secretSecretRef: value, + }, + '#withSecretSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP.\nThe secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP.' } }, + withSecretSecretRefMixin(value): { + secretSecretRef+: value, + }, + secretSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + secretSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + secretSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + secretSecretRef+: { + namespace: value, + }, + }, + }, + '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRef(value): { + settingsSecretRef: value, + }, + '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSettingsSecretRefMixin(value): { + settingsSecretRef+: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message to send.' } }, + withTitle(value): { + title: value, + }, + '#withToUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The ID of user that should receive the message. Multiple entries should be separated by '|'. Default: @all.\nThe ID of user that should receive the message. Multiple entries should be separated by '|'. Default: @all." } }, + withToUser(value): { + toUser: value, + }, + '#withUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe WeCom webhook URL. Required if using GroupRobot.' } }, + withUrlSecretRef(value): { + urlSecretRef: value, + }, + '#withUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe WeCom webhook URL. Required if using GroupRobot.' } }, + withUrlSecretRefMixin(value): { + urlSecretRef+: value, + }, + urlSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + urlSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + urlSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + urlSecretRef+: { + namespace: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/contactPoint/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/alerting/v1alpha1/contactPoint/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/contactPoint/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/main.libsonnet b/grafanaplane/alerting/v1alpha1/main.libsonnet new file mode 100644 index 0000000..09daa0e --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/main.libsonnet @@ -0,0 +1,7 @@ +{ + contactPoint+: import './contactPoint/main.libsonnet', + messageTemplate+: import './messageTemplate/main.libsonnet', + muteTiming+: import './muteTiming/main.libsonnet', + notificationPolicy+: import './notificationPolicy/main.libsonnet', + ruleGroup+: import './ruleGroup/main.libsonnet', +} diff --git a/grafanaplane/alerting/v1alpha1/messageTemplate/main.libsonnet b/grafanaplane/alerting/v1alpha1/messageTemplate/main.libsonnet new file mode 100644 index 0000000..b669499 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/messageTemplate/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'messageTemplate' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'alerting.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'MessageTemplate', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/alerting/v1alpha1/messageTemplate/metadata/main.libsonnet b/grafanaplane/alerting/v1alpha1/messageTemplate/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/messageTemplate/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/messageTemplate/spec/compositionRef.libsonnet b/grafanaplane/alerting/v1alpha1/messageTemplate/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/messageTemplate/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/messageTemplate/spec/compositionRevisionRef.libsonnet b/grafanaplane/alerting/v1alpha1/messageTemplate/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/messageTemplate/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/messageTemplate/spec/compositionSelector.libsonnet b/grafanaplane/alerting/v1alpha1/messageTemplate/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/messageTemplate/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/messageTemplate/spec/main.libsonnet b/grafanaplane/alerting/v1alpha1/messageTemplate/spec/main.libsonnet new file mode 100644 index 0000000..1b32b47 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/messageTemplate/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MessageTemplateSpec defines the desired state of MessageTemplate' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MessageTemplateSpec defines the desired state of MessageTemplate' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/alerting/v1alpha1/messageTemplate/spec/parameters.libsonnet b/grafanaplane/alerting/v1alpha1/messageTemplate/spec/parameters.libsonnet new file mode 100644 index 0000000..7e3c2b3 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/messageTemplate/spec/parameters.libsonnet @@ -0,0 +1,875 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Defaults to false. Defaults to `false`.' } }, + withDisableProvenance(value=true): { + spec+: { + parameters+: { + forProvider+: { + disableProvenance: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the message template.\nThe name of the message template.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withTemplate': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The content of the message template.\nThe content of the message template.' } }, + withTemplate(value): { + spec+: { + parameters+: { + forProvider+: { + template: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Defaults to false. Defaults to `false`.' } }, + withDisableProvenance(value=true): { + spec+: { + parameters+: { + initProvider+: { + disableProvenance: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the message template.\nThe name of the message template.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withTemplate': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The content of the message template.\nThe content of the message template.' } }, + withTemplate(value): { + spec+: { + parameters+: { + initProvider+: { + template: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/messageTemplate/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/alerting/v1alpha1/messageTemplate/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/messageTemplate/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/muteTiming/main.libsonnet b/grafanaplane/alerting/v1alpha1/muteTiming/main.libsonnet new file mode 100644 index 0000000..4d7586a --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/muteTiming/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'muteTiming' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'alerting.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'MuteTiming', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/alerting/v1alpha1/muteTiming/metadata/main.libsonnet b/grafanaplane/alerting/v1alpha1/muteTiming/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/muteTiming/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/muteTiming/spec/compositionRef.libsonnet b/grafanaplane/alerting/v1alpha1/muteTiming/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/muteTiming/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/muteTiming/spec/compositionRevisionRef.libsonnet b/grafanaplane/alerting/v1alpha1/muteTiming/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/muteTiming/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/muteTiming/spec/compositionSelector.libsonnet b/grafanaplane/alerting/v1alpha1/muteTiming/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/muteTiming/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/muteTiming/spec/main.libsonnet b/grafanaplane/alerting/v1alpha1/muteTiming/spec/main.libsonnet new file mode 100644 index 0000000..67e775f --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/muteTiming/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MuteTimingSpec defines the desired state of MuteTiming' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MuteTimingSpec defines the desired state of MuteTiming' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/alerting/v1alpha1/muteTiming/spec/parameters.libsonnet b/grafanaplane/alerting/v1alpha1/muteTiming/spec/parameters.libsonnet new file mode 100644 index 0000000..fb57e59 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/muteTiming/spec/parameters.libsonnet @@ -0,0 +1,1087 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Defaults to false. Defaults to `false`.' } }, + withDisableProvenance(value=true): { + spec+: { + parameters+: { + forProvider+: { + disableProvenance: value, + }, + }, + }, + }, + '#withIntervals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) The time intervals at which to mute notifications. Use an empty block to mute all the time. (see below for nested schema)\nThe time intervals at which to mute notifications. Use an empty block to mute all the time.' } }, + withIntervals(value): { + spec+: { + parameters+: { + forProvider+: { + intervals: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withIntervalsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) The time intervals at which to mute notifications. Use an empty block to mute all the time. (see below for nested schema)\nThe time intervals at which to mute notifications. Use an empty block to mute all the time.' } }, + withIntervalsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + intervals+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + intervals+: + { + '#': { help: '', name: 'intervals' }, + '#withDaysOfMonth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1".\nAn inclusive range of days, 1-31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1".' } }, + withDaysOfMonth(value): { + daysOfMonth: + (if std.isArray(value) + then value + else [value]), + }, + '#withDaysOfMonthMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1".\nAn inclusive range of days, 1-31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1".' } }, + withDaysOfMonthMixin(value): { + daysOfMonth+: + (if std.isArray(value) + then value + else [value]), + }, + '#withLocation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Provides the time zone for the time interval. Must be a location in the IANA time zone database, e.g "America/New_York"\nProvides the time zone for the time interval. Must be a location in the IANA time zone database, e.g "America/New_York"' } }, + withLocation(value): { + location: value, + }, + '#withMonths': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) An inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august".\nAn inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august".' } }, + withMonths(value): { + months: + (if std.isArray(value) + then value + else [value]), + }, + '#withMonthsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) An inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august".\nAn inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august".' } }, + withMonthsMixin(value): { + months+: + (if std.isArray(value) + then value + else [value]), + }, + '#withTimes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) The time ranges, represented in minutes, during which to mute in a given day. (see below for nested schema)\nThe time ranges, represented in minutes, during which to mute in a given day.' } }, + withTimes(value): { + times: + (if std.isArray(value) + then value + else [value]), + }, + '#withTimesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) The time ranges, represented in minutes, during which to mute in a given day. (see below for nested schema)\nThe time ranges, represented in minutes, during which to mute in a given day.' } }, + withTimesMixin(value): { + times+: + (if std.isArray(value) + then value + else [value]), + }, + times+: + { + '#': { help: '', name: 'times' }, + '#withEnd': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The time, in hh:mm format, of when the interval should end exclusively.\nThe time, in hh:mm format, of when the interval should end exclusively.' } }, + withEnd(value): { + end: value, + }, + '#withStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The time, in hh:mm format, of when the interval should begin inclusively.\nThe time, in hh:mm format, of when the interval should begin inclusively.' } }, + withStart(value): { + start: value, + }, + }, + '#withWeekdays': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) An inclusive range of weekdays, e.g. "monday" or "tuesday:thursday".\nAn inclusive range of weekdays, e.g. "monday" or "tuesday:thursday".' } }, + withWeekdays(value): { + weekdays: + (if std.isArray(value) + then value + else [value]), + }, + '#withWeekdaysMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) An inclusive range of weekdays, e.g. "monday" or "tuesday:thursday".\nAn inclusive range of weekdays, e.g. "monday" or "tuesday:thursday".' } }, + withWeekdaysMixin(value): { + weekdays+: + (if std.isArray(value) + then value + else [value]), + }, + '#withYears': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A positive inclusive range of years, e.g. "2030" or "2025:2026".\nA positive inclusive range of years, e.g. "2030" or "2025:2026".' } }, + withYears(value): { + years: + (if std.isArray(value) + then value + else [value]), + }, + '#withYearsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A positive inclusive range of years, e.g. "2030" or "2025:2026".\nA positive inclusive range of years, e.g. "2030" or "2025:2026".' } }, + withYearsMixin(value): { + years+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the mute timing.\nThe name of the mute timing.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Defaults to false. Defaults to `false`.' } }, + withDisableProvenance(value=true): { + spec+: { + parameters+: { + initProvider+: { + disableProvenance: value, + }, + }, + }, + }, + '#withIntervals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) The time intervals at which to mute notifications. Use an empty block to mute all the time. (see below for nested schema)\nThe time intervals at which to mute notifications. Use an empty block to mute all the time.' } }, + withIntervals(value): { + spec+: { + parameters+: { + initProvider+: { + intervals: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withIntervalsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) The time intervals at which to mute notifications. Use an empty block to mute all the time. (see below for nested schema)\nThe time intervals at which to mute notifications. Use an empty block to mute all the time.' } }, + withIntervalsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + intervals+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + intervals+: + { + '#': { help: '', name: 'intervals' }, + '#withDaysOfMonth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1".\nAn inclusive range of days, 1-31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1".' } }, + withDaysOfMonth(value): { + daysOfMonth: + (if std.isArray(value) + then value + else [value]), + }, + '#withDaysOfMonthMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1".\nAn inclusive range of days, 1-31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1".' } }, + withDaysOfMonthMixin(value): { + daysOfMonth+: + (if std.isArray(value) + then value + else [value]), + }, + '#withLocation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Provides the time zone for the time interval. Must be a location in the IANA time zone database, e.g "America/New_York"\nProvides the time zone for the time interval. Must be a location in the IANA time zone database, e.g "America/New_York"' } }, + withLocation(value): { + location: value, + }, + '#withMonths': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) An inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august".\nAn inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august".' } }, + withMonths(value): { + months: + (if std.isArray(value) + then value + else [value]), + }, + '#withMonthsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) An inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august".\nAn inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august".' } }, + withMonthsMixin(value): { + months+: + (if std.isArray(value) + then value + else [value]), + }, + '#withTimes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) The time ranges, represented in minutes, during which to mute in a given day. (see below for nested schema)\nThe time ranges, represented in minutes, during which to mute in a given day.' } }, + withTimes(value): { + times: + (if std.isArray(value) + then value + else [value]), + }, + '#withTimesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) The time ranges, represented in minutes, during which to mute in a given day. (see below for nested schema)\nThe time ranges, represented in minutes, during which to mute in a given day.' } }, + withTimesMixin(value): { + times+: + (if std.isArray(value) + then value + else [value]), + }, + times+: + { + '#': { help: '', name: 'times' }, + '#withEnd': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The time, in hh:mm format, of when the interval should end exclusively.\nThe time, in hh:mm format, of when the interval should end exclusively.' } }, + withEnd(value): { + end: value, + }, + '#withStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The time, in hh:mm format, of when the interval should begin inclusively.\nThe time, in hh:mm format, of when the interval should begin inclusively.' } }, + withStart(value): { + start: value, + }, + }, + '#withWeekdays': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) An inclusive range of weekdays, e.g. "monday" or "tuesday:thursday".\nAn inclusive range of weekdays, e.g. "monday" or "tuesday:thursday".' } }, + withWeekdays(value): { + weekdays: + (if std.isArray(value) + then value + else [value]), + }, + '#withWeekdaysMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) An inclusive range of weekdays, e.g. "monday" or "tuesday:thursday".\nAn inclusive range of weekdays, e.g. "monday" or "tuesday:thursday".' } }, + withWeekdaysMixin(value): { + weekdays+: + (if std.isArray(value) + then value + else [value]), + }, + '#withYears': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A positive inclusive range of years, e.g. "2030" or "2025:2026".\nA positive inclusive range of years, e.g. "2030" or "2025:2026".' } }, + withYears(value): { + years: + (if std.isArray(value) + then value + else [value]), + }, + '#withYearsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A positive inclusive range of years, e.g. "2030" or "2025:2026".\nA positive inclusive range of years, e.g. "2030" or "2025:2026".' } }, + withYearsMixin(value): { + years+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the mute timing.\nThe name of the mute timing.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/muteTiming/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/alerting/v1alpha1/muteTiming/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/muteTiming/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/notificationPolicy/main.libsonnet b/grafanaplane/alerting/v1alpha1/notificationPolicy/main.libsonnet new file mode 100644 index 0000000..e330af4 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/notificationPolicy/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'notificationPolicy' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'alerting.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'NotificationPolicy', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/alerting/v1alpha1/notificationPolicy/metadata/main.libsonnet b/grafanaplane/alerting/v1alpha1/notificationPolicy/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/notificationPolicy/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/notificationPolicy/spec/compositionRef.libsonnet b/grafanaplane/alerting/v1alpha1/notificationPolicy/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/notificationPolicy/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/notificationPolicy/spec/compositionRevisionRef.libsonnet b/grafanaplane/alerting/v1alpha1/notificationPolicy/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/notificationPolicy/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/notificationPolicy/spec/compositionSelector.libsonnet b/grafanaplane/alerting/v1alpha1/notificationPolicy/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/notificationPolicy/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/notificationPolicy/spec/main.libsonnet b/grafanaplane/alerting/v1alpha1/notificationPolicy/spec/main.libsonnet new file mode 100644 index 0000000..fc7f300 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/notificationPolicy/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'NotificationPolicySpec defines the desired state of NotificationPolicy' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'NotificationPolicySpec defines the desired state of NotificationPolicy' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/alerting/v1alpha1/notificationPolicy/spec/parameters.libsonnet b/grafanaplane/alerting/v1alpha1/notificationPolicy/spec/parameters.libsonnet new file mode 100644 index 0000000..f4f723a --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/notificationPolicy/spec/parameters.libsonnet @@ -0,0 +1,3871 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default contact point to route all unmatched notifications to.\nThe default contact point to route all unmatched notifications to.' } }, + withContactPoint(value): { + spec+: { + parameters+: { + forProvider+: { + contactPoint: value, + }, + }, + }, + }, + '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRef(value): { + spec+: { + parameters+: { + forProvider+: { + contactPointRef: value, + }, + }, + }, + }, + '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + contactPointRef+: value, + }, + }, + }, + }, + contactPointRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + contactPointRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + contactPointRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + contactPointRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + contactPointRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + contactPointRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelector(value): { + spec+: { + parameters+: { + forProvider+: { + contactPointSelector: value, + }, + }, + }, + }, + '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + contactPointSelector+: value, + }, + }, + }, + }, + contactPointSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + contactPointSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + contactPointSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + contactPointSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + contactPointSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + contactPointSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + contactPointSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + contactPointSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Defaults to false. Defaults to `false`.' } }, + withDisableProvenance(value=true): { + spec+: { + parameters+: { + forProvider+: { + disableProvenance: value, + }, + }, + }, + }, + '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping.' } }, + withGroupBy(value): { + spec+: { + parameters+: { + forProvider+: { + groupBy: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping.' } }, + withGroupByMixin(value): { + spec+: { + parameters+: { + forProvider+: { + groupBy+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, + withGroupInterval(value): { + spec+: { + parameters+: { + forProvider+: { + groupInterval: value, + }, + }, + }, + }, + '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, + withGroupWait(value): { + spec+: { + parameters+: { + forProvider+: { + groupWait: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + policy: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + policy+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + policy+: + { + '#': { help: '', name: 'policy' }, + '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default contact point to route all unmatched notifications to.\nThe contact point to route notifications that match this rule to.' } }, + withContactPoint(value): { + contactPoint: value, + }, + '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRef(value): { + contactPointRef: value, + }, + '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRefMixin(value): { + contactPointRef+: value, + }, + contactPointRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + contactPointRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + contactPointRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + contactPointRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + contactPointRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + contactPointRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelector(value): { + contactPointSelector: value, + }, + '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelectorMixin(value): { + contactPointSelector+: value, + }, + contactPointSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + contactPointSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + contactPointSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + contactPointSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + contactPointSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + contactPointSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + contactPointSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + contactPointSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withContinue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.\nWhether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it." } }, + withContinue(value=true): { + continue: value, + }, + '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, + withGroupBy(value): { + groupBy: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, + withGroupByMixin(value): { + groupBy+: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, + withGroupInterval(value): { + groupInterval: value, + }, + '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, + withGroupWait(value): { + groupWait: value, + }, + '#withMatcher': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, + withMatcher(value): { + matcher: + (if std.isArray(value) + then value + else [value]), + }, + '#withMatcherMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, + withMatcherMixin(value): { + matcher+: + (if std.isArray(value) + then value + else [value]), + }, + matcher+: + { + '#': { help: '', name: 'matcher' }, + '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the label to match against.\nThe name of the label to match against.' } }, + withLabel(value): { + label: value, + }, + '#withMatch': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality.\nThe operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.' } }, + withMatch(value): { + match: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The label value to match against.\nThe label value to match against.' } }, + withValue(value): { + value: value, + }, + }, + '#withMuteTimingRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingRef(value): { + muteTimingRef: + (if std.isArray(value) + then value + else [value]), + }, + '#withMuteTimingRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingRefMixin(value): { + muteTimingRef+: + (if std.isArray(value) + then value + else [value]), + }, + muteTimingRef+: + { + '#': { help: '', name: 'muteTimingRef' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + name: value, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + policy: value, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + policy+: value, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + policy+: { + resolution: value, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + policy+: { + resolve: value, + }, + }, + }, + }, + '#withMuteTimingSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingSelector(value): { + muteTimingSelector: value, + }, + '#withMuteTimingSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingSelectorMixin(value): { + muteTimingSelector+: value, + }, + muteTimingSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + muteTimingSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + muteTimingSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + muteTimingSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + muteTimingSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + muteTimingSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + muteTimingSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + muteTimingSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withMuteTimings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, + withMuteTimings(value): { + muteTimings: + (if std.isArray(value) + then value + else [value]), + }, + '#withMuteTimingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, + withMuteTimingsMixin(value): { + muteTimings+: + (if std.isArray(value) + then value + else [value]), + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, + withPolicy(value): { + policy: + (if std.isArray(value) + then value + else [value]), + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, + withPolicyMixin(value): { + policy+: + (if std.isArray(value) + then value + else [value]), + }, + policy+: + { + '#': { help: '', name: 'policy' }, + '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default contact point to route all unmatched notifications to.\nThe contact point to route notifications that match this rule to.' } }, + withContactPoint(value): { + contactPoint: value, + }, + '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRef(value): { + contactPointRef: value, + }, + '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRefMixin(value): { + contactPointRef+: value, + }, + contactPointRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + contactPointRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + contactPointRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + contactPointRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + contactPointRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + contactPointRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelector(value): { + contactPointSelector: value, + }, + '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelectorMixin(value): { + contactPointSelector+: value, + }, + contactPointSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + contactPointSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + contactPointSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + contactPointSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + contactPointSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + contactPointSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + contactPointSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + contactPointSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withContinue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.\nWhether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it." } }, + withContinue(value=true): { + continue: value, + }, + '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, + withGroupBy(value): { + groupBy: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, + withGroupByMixin(value): { + groupBy+: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, + withGroupInterval(value): { + groupInterval: value, + }, + '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, + withGroupWait(value): { + groupWait: value, + }, + '#withMatcher': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, + withMatcher(value): { + matcher: + (if std.isArray(value) + then value + else [value]), + }, + '#withMatcherMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, + withMatcherMixin(value): { + matcher+: + (if std.isArray(value) + then value + else [value]), + }, + matcher+: + { + '#': { help: '', name: 'matcher' }, + '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the label to match against.\nThe name of the label to match against.' } }, + withLabel(value): { + label: value, + }, + '#withMatch': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality.\nThe operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.' } }, + withMatch(value): { + match: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The label value to match against.\nThe label value to match against.' } }, + withValue(value): { + value: value, + }, + }, + '#withMuteTimingRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingRef(value): { + muteTimingRef: + (if std.isArray(value) + then value + else [value]), + }, + '#withMuteTimingRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingRefMixin(value): { + muteTimingRef+: + (if std.isArray(value) + then value + else [value]), + }, + muteTimingRef+: + { + '#': { help: '', name: 'muteTimingRef' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + name: value, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + policy: value, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + policy+: value, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + policy+: { + resolution: value, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + policy+: { + resolve: value, + }, + }, + }, + }, + '#withMuteTimingSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingSelector(value): { + muteTimingSelector: value, + }, + '#withMuteTimingSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingSelectorMixin(value): { + muteTimingSelector+: value, + }, + muteTimingSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + muteTimingSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + muteTimingSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + muteTimingSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + muteTimingSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + muteTimingSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + muteTimingSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + muteTimingSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withMuteTimings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, + withMuteTimings(value): { + muteTimings: + (if std.isArray(value) + then value + else [value]), + }, + '#withMuteTimingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, + withMuteTimingsMixin(value): { + muteTimings+: + (if std.isArray(value) + then value + else [value]), + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, + withPolicy(value): { + policy: + (if std.isArray(value) + then value + else [value]), + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, + withPolicyMixin(value): { + policy+: + (if std.isArray(value) + then value + else [value]), + }, + policy+: + { + '#': { help: '', name: 'policy' }, + '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default contact point to route all unmatched notifications to.\nThe contact point to route notifications that match this rule to.' } }, + withContactPoint(value): { + contactPoint: value, + }, + '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRef(value): { + contactPointRef: value, + }, + '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRefMixin(value): { + contactPointRef+: value, + }, + contactPointRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + contactPointRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + contactPointRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + contactPointRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + contactPointRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + contactPointRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelector(value): { + contactPointSelector: value, + }, + '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelectorMixin(value): { + contactPointSelector+: value, + }, + contactPointSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + contactPointSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + contactPointSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + contactPointSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + contactPointSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + contactPointSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + contactPointSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + contactPointSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withContinue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.\nWhether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it." } }, + withContinue(value=true): { + continue: value, + }, + '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, + withGroupBy(value): { + groupBy: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, + withGroupByMixin(value): { + groupBy+: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, + withGroupInterval(value): { + groupInterval: value, + }, + '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, + withGroupWait(value): { + groupWait: value, + }, + '#withMatcher': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, + withMatcher(value): { + matcher: + (if std.isArray(value) + then value + else [value]), + }, + '#withMatcherMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, + withMatcherMixin(value): { + matcher+: + (if std.isArray(value) + then value + else [value]), + }, + matcher+: + { + '#': { help: '', name: 'matcher' }, + '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the label to match against.\nThe name of the label to match against.' } }, + withLabel(value): { + label: value, + }, + '#withMatch': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality.\nThe operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.' } }, + withMatch(value): { + match: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The label value to match against.\nThe label value to match against.' } }, + withValue(value): { + value: value, + }, + }, + '#withMuteTimingRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingRef(value): { + muteTimingRef: + (if std.isArray(value) + then value + else [value]), + }, + '#withMuteTimingRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingRefMixin(value): { + muteTimingRef+: + (if std.isArray(value) + then value + else [value]), + }, + muteTimingRef+: + { + '#': { help: '', name: 'muteTimingRef' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + name: value, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + policy: value, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + policy+: value, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + policy+: { + resolution: value, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + policy+: { + resolve: value, + }, + }, + }, + }, + '#withMuteTimingSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingSelector(value): { + muteTimingSelector: value, + }, + '#withMuteTimingSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingSelectorMixin(value): { + muteTimingSelector+: value, + }, + muteTimingSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + muteTimingSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + muteTimingSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + muteTimingSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + muteTimingSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + muteTimingSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + muteTimingSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + muteTimingSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withMuteTimings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, + withMuteTimings(value): { + muteTimings: + (if std.isArray(value) + then value + else [value]), + }, + '#withMuteTimingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, + withMuteTimingsMixin(value): { + muteTimings+: + (if std.isArray(value) + then value + else [value]), + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, + withPolicy(value): { + policy: + (if std.isArray(value) + then value + else [value]), + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, + withPolicyMixin(value): { + policy+: + (if std.isArray(value) + then value + else [value]), + }, + policy+: + { + '#': { help: '', name: 'policy' }, + '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default contact point to route all unmatched notifications to.\nThe contact point to route notifications that match this rule to.' } }, + withContactPoint(value): { + contactPoint: value, + }, + '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRef(value): { + contactPointRef: value, + }, + '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRefMixin(value): { + contactPointRef+: value, + }, + contactPointRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + contactPointRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + contactPointRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + contactPointRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + contactPointRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + contactPointRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelector(value): { + contactPointSelector: value, + }, + '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelectorMixin(value): { + contactPointSelector+: value, + }, + contactPointSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + contactPointSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + contactPointSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + contactPointSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + contactPointSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + contactPointSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + contactPointSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + contactPointSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withContinue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.\nWhether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it." } }, + withContinue(value=true): { + continue: value, + }, + '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, + withGroupBy(value): { + groupBy: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, + withGroupByMixin(value): { + groupBy+: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, + withGroupInterval(value): { + groupInterval: value, + }, + '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, + withGroupWait(value): { + groupWait: value, + }, + '#withMatcher': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, + withMatcher(value): { + matcher: + (if std.isArray(value) + then value + else [value]), + }, + '#withMatcherMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, + withMatcherMixin(value): { + matcher+: + (if std.isArray(value) + then value + else [value]), + }, + matcher+: + { + '#': { help: '', name: 'matcher' }, + '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the label to match against.\nThe name of the label to match against.' } }, + withLabel(value): { + label: value, + }, + '#withMatch': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality.\nThe operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.' } }, + withMatch(value): { + match: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The label value to match against.\nThe label value to match against.' } }, + withValue(value): { + value: value, + }, + }, + '#withMuteTimingRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingRef(value): { + muteTimingRef: + (if std.isArray(value) + then value + else [value]), + }, + '#withMuteTimingRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingRefMixin(value): { + muteTimingRef+: + (if std.isArray(value) + then value + else [value]), + }, + muteTimingRef+: + { + '#': { help: '', name: 'muteTimingRef' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + name: value, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + policy: value, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + policy+: value, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + policy+: { + resolution: value, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + policy+: { + resolve: value, + }, + }, + }, + }, + '#withMuteTimingSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingSelector(value): { + muteTimingSelector: value, + }, + '#withMuteTimingSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingSelectorMixin(value): { + muteTimingSelector+: value, + }, + muteTimingSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + muteTimingSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + muteTimingSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + muteTimingSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + muteTimingSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + muteTimingSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + muteTimingSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + muteTimingSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withMuteTimings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, + withMuteTimings(value): { + muteTimings: + (if std.isArray(value) + then value + else [value]), + }, + '#withMuteTimingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, + withMuteTimingsMixin(value): { + muteTimings+: + (if std.isArray(value) + then value + else [value]), + }, + '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, + withRepeatInterval(value): { + repeatInterval: value, + }, + }, + '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, + withRepeatInterval(value): { + repeatInterval: value, + }, + }, + '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, + withRepeatInterval(value): { + repeatInterval: value, + }, + }, + '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, + withRepeatInterval(value): { + repeatInterval: value, + }, + }, + '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, + withRepeatInterval(value): { + spec+: { + parameters+: { + forProvider+: { + repeatInterval: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default contact point to route all unmatched notifications to.\nThe default contact point to route all unmatched notifications to.' } }, + withContactPoint(value): { + spec+: { + parameters+: { + initProvider+: { + contactPoint: value, + }, + }, + }, + }, + '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRef(value): { + spec+: { + parameters+: { + initProvider+: { + contactPointRef: value, + }, + }, + }, + }, + '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + contactPointRef+: value, + }, + }, + }, + }, + contactPointRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + contactPointRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + contactPointRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + contactPointRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + contactPointRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + contactPointRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelector(value): { + spec+: { + parameters+: { + initProvider+: { + contactPointSelector: value, + }, + }, + }, + }, + '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + contactPointSelector+: value, + }, + }, + }, + }, + contactPointSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + contactPointSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + contactPointSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + contactPointSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + contactPointSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + contactPointSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + contactPointSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + contactPointSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Defaults to false. Defaults to `false`.' } }, + withDisableProvenance(value=true): { + spec+: { + parameters+: { + initProvider+: { + disableProvenance: value, + }, + }, + }, + }, + '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping.' } }, + withGroupBy(value): { + spec+: { + parameters+: { + initProvider+: { + groupBy: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping.' } }, + withGroupByMixin(value): { + spec+: { + parameters+: { + initProvider+: { + groupBy+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, + withGroupInterval(value): { + spec+: { + parameters+: { + initProvider+: { + groupInterval: value, + }, + }, + }, + }, + '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, + withGroupWait(value): { + spec+: { + parameters+: { + initProvider+: { + groupWait: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + policy: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + policy+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + policy+: + { + '#': { help: '', name: 'policy' }, + '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default contact point to route all unmatched notifications to.\nThe contact point to route notifications that match this rule to.' } }, + withContactPoint(value): { + contactPoint: value, + }, + '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRef(value): { + contactPointRef: value, + }, + '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRefMixin(value): { + contactPointRef+: value, + }, + contactPointRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + contactPointRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + contactPointRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + contactPointRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + contactPointRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + contactPointRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelector(value): { + contactPointSelector: value, + }, + '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelectorMixin(value): { + contactPointSelector+: value, + }, + contactPointSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + contactPointSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + contactPointSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + contactPointSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + contactPointSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + contactPointSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + contactPointSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + contactPointSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withContinue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.\nWhether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it." } }, + withContinue(value=true): { + continue: value, + }, + '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, + withGroupBy(value): { + groupBy: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, + withGroupByMixin(value): { + groupBy+: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, + withGroupInterval(value): { + groupInterval: value, + }, + '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, + withGroupWait(value): { + groupWait: value, + }, + '#withMatcher': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, + withMatcher(value): { + matcher: + (if std.isArray(value) + then value + else [value]), + }, + '#withMatcherMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, + withMatcherMixin(value): { + matcher+: + (if std.isArray(value) + then value + else [value]), + }, + matcher+: + { + '#': { help: '', name: 'matcher' }, + '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the label to match against.\nThe name of the label to match against.' } }, + withLabel(value): { + label: value, + }, + '#withMatch': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality.\nThe operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.' } }, + withMatch(value): { + match: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The label value to match against.\nThe label value to match against.' } }, + withValue(value): { + value: value, + }, + }, + '#withMuteTimingRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingRef(value): { + muteTimingRef: + (if std.isArray(value) + then value + else [value]), + }, + '#withMuteTimingRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingRefMixin(value): { + muteTimingRef+: + (if std.isArray(value) + then value + else [value]), + }, + muteTimingRef+: + { + '#': { help: '', name: 'muteTimingRef' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + name: value, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + policy: value, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + policy+: value, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + policy+: { + resolution: value, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + policy+: { + resolve: value, + }, + }, + }, + }, + '#withMuteTimingSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingSelector(value): { + muteTimingSelector: value, + }, + '#withMuteTimingSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingSelectorMixin(value): { + muteTimingSelector+: value, + }, + muteTimingSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + muteTimingSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + muteTimingSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + muteTimingSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + muteTimingSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + muteTimingSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + muteTimingSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + muteTimingSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withMuteTimings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, + withMuteTimings(value): { + muteTimings: + (if std.isArray(value) + then value + else [value]), + }, + '#withMuteTimingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, + withMuteTimingsMixin(value): { + muteTimings+: + (if std.isArray(value) + then value + else [value]), + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, + withPolicy(value): { + policy: + (if std.isArray(value) + then value + else [value]), + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, + withPolicyMixin(value): { + policy+: + (if std.isArray(value) + then value + else [value]), + }, + policy+: + { + '#': { help: '', name: 'policy' }, + '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default contact point to route all unmatched notifications to.\nThe contact point to route notifications that match this rule to.' } }, + withContactPoint(value): { + contactPoint: value, + }, + '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRef(value): { + contactPointRef: value, + }, + '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRefMixin(value): { + contactPointRef+: value, + }, + contactPointRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + contactPointRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + contactPointRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + contactPointRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + contactPointRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + contactPointRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelector(value): { + contactPointSelector: value, + }, + '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelectorMixin(value): { + contactPointSelector+: value, + }, + contactPointSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + contactPointSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + contactPointSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + contactPointSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + contactPointSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + contactPointSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + contactPointSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + contactPointSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withContinue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.\nWhether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it." } }, + withContinue(value=true): { + continue: value, + }, + '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, + withGroupBy(value): { + groupBy: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, + withGroupByMixin(value): { + groupBy+: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, + withGroupInterval(value): { + groupInterval: value, + }, + '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, + withGroupWait(value): { + groupWait: value, + }, + '#withMatcher': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, + withMatcher(value): { + matcher: + (if std.isArray(value) + then value + else [value]), + }, + '#withMatcherMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, + withMatcherMixin(value): { + matcher+: + (if std.isArray(value) + then value + else [value]), + }, + matcher+: + { + '#': { help: '', name: 'matcher' }, + '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the label to match against.\nThe name of the label to match against.' } }, + withLabel(value): { + label: value, + }, + '#withMatch': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality.\nThe operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.' } }, + withMatch(value): { + match: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The label value to match against.\nThe label value to match against.' } }, + withValue(value): { + value: value, + }, + }, + '#withMuteTimingRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingRef(value): { + muteTimingRef: + (if std.isArray(value) + then value + else [value]), + }, + '#withMuteTimingRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingRefMixin(value): { + muteTimingRef+: + (if std.isArray(value) + then value + else [value]), + }, + muteTimingRef+: + { + '#': { help: '', name: 'muteTimingRef' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + name: value, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + policy: value, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + policy+: value, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + policy+: { + resolution: value, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + policy+: { + resolve: value, + }, + }, + }, + }, + '#withMuteTimingSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingSelector(value): { + muteTimingSelector: value, + }, + '#withMuteTimingSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingSelectorMixin(value): { + muteTimingSelector+: value, + }, + muteTimingSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + muteTimingSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + muteTimingSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + muteTimingSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + muteTimingSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + muteTimingSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + muteTimingSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + muteTimingSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withMuteTimings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, + withMuteTimings(value): { + muteTimings: + (if std.isArray(value) + then value + else [value]), + }, + '#withMuteTimingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, + withMuteTimingsMixin(value): { + muteTimings+: + (if std.isArray(value) + then value + else [value]), + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, + withPolicy(value): { + policy: + (if std.isArray(value) + then value + else [value]), + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, + withPolicyMixin(value): { + policy+: + (if std.isArray(value) + then value + else [value]), + }, + policy+: + { + '#': { help: '', name: 'policy' }, + '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default contact point to route all unmatched notifications to.\nThe contact point to route notifications that match this rule to.' } }, + withContactPoint(value): { + contactPoint: value, + }, + '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRef(value): { + contactPointRef: value, + }, + '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRefMixin(value): { + contactPointRef+: value, + }, + contactPointRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + contactPointRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + contactPointRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + contactPointRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + contactPointRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + contactPointRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelector(value): { + contactPointSelector: value, + }, + '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelectorMixin(value): { + contactPointSelector+: value, + }, + contactPointSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + contactPointSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + contactPointSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + contactPointSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + contactPointSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + contactPointSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + contactPointSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + contactPointSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withContinue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.\nWhether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it." } }, + withContinue(value=true): { + continue: value, + }, + '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, + withGroupBy(value): { + groupBy: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, + withGroupByMixin(value): { + groupBy+: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, + withGroupInterval(value): { + groupInterval: value, + }, + '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, + withGroupWait(value): { + groupWait: value, + }, + '#withMatcher': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, + withMatcher(value): { + matcher: + (if std.isArray(value) + then value + else [value]), + }, + '#withMatcherMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, + withMatcherMixin(value): { + matcher+: + (if std.isArray(value) + then value + else [value]), + }, + matcher+: + { + '#': { help: '', name: 'matcher' }, + '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the label to match against.\nThe name of the label to match against.' } }, + withLabel(value): { + label: value, + }, + '#withMatch': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality.\nThe operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.' } }, + withMatch(value): { + match: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The label value to match against.\nThe label value to match against.' } }, + withValue(value): { + value: value, + }, + }, + '#withMuteTimingRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingRef(value): { + muteTimingRef: + (if std.isArray(value) + then value + else [value]), + }, + '#withMuteTimingRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingRefMixin(value): { + muteTimingRef+: + (if std.isArray(value) + then value + else [value]), + }, + muteTimingRef+: + { + '#': { help: '', name: 'muteTimingRef' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + name: value, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + policy: value, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + policy+: value, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + policy+: { + resolution: value, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + policy+: { + resolve: value, + }, + }, + }, + }, + '#withMuteTimingSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingSelector(value): { + muteTimingSelector: value, + }, + '#withMuteTimingSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingSelectorMixin(value): { + muteTimingSelector+: value, + }, + muteTimingSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + muteTimingSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + muteTimingSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + muteTimingSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + muteTimingSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + muteTimingSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + muteTimingSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + muteTimingSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withMuteTimings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, + withMuteTimings(value): { + muteTimings: + (if std.isArray(value) + then value + else [value]), + }, + '#withMuteTimingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, + withMuteTimingsMixin(value): { + muteTimings+: + (if std.isArray(value) + then value + else [value]), + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, + withPolicy(value): { + policy: + (if std.isArray(value) + then value + else [value]), + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, + withPolicyMixin(value): { + policy+: + (if std.isArray(value) + then value + else [value]), + }, + policy+: + { + '#': { help: '', name: 'policy' }, + '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default contact point to route all unmatched notifications to.\nThe contact point to route notifications that match this rule to.' } }, + withContactPoint(value): { + contactPoint: value, + }, + '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRef(value): { + contactPointRef: value, + }, + '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRefMixin(value): { + contactPointRef+: value, + }, + contactPointRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + contactPointRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + contactPointRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + contactPointRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + contactPointRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + contactPointRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelector(value): { + contactPointSelector: value, + }, + '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelectorMixin(value): { + contactPointSelector+: value, + }, + contactPointSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + contactPointSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + contactPointSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + contactPointSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + contactPointSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + contactPointSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + contactPointSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + contactPointSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withContinue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.\nWhether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it." } }, + withContinue(value=true): { + continue: value, + }, + '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, + withGroupBy(value): { + groupBy: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, + withGroupByMixin(value): { + groupBy+: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, + withGroupInterval(value): { + groupInterval: value, + }, + '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, + withGroupWait(value): { + groupWait: value, + }, + '#withMatcher': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, + withMatcher(value): { + matcher: + (if std.isArray(value) + then value + else [value]), + }, + '#withMatcherMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, + withMatcherMixin(value): { + matcher+: + (if std.isArray(value) + then value + else [value]), + }, + matcher+: + { + '#': { help: '', name: 'matcher' }, + '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the label to match against.\nThe name of the label to match against.' } }, + withLabel(value): { + label: value, + }, + '#withMatch': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality.\nThe operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.' } }, + withMatch(value): { + match: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The label value to match against.\nThe label value to match against.' } }, + withValue(value): { + value: value, + }, + }, + '#withMuteTimingRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingRef(value): { + muteTimingRef: + (if std.isArray(value) + then value + else [value]), + }, + '#withMuteTimingRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingRefMixin(value): { + muteTimingRef+: + (if std.isArray(value) + then value + else [value]), + }, + muteTimingRef+: + { + '#': { help: '', name: 'muteTimingRef' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + name: value, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + policy: value, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + policy+: value, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + policy+: { + resolution: value, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + policy+: { + resolve: value, + }, + }, + }, + }, + '#withMuteTimingSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingSelector(value): { + muteTimingSelector: value, + }, + '#withMuteTimingSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, + withMuteTimingSelectorMixin(value): { + muteTimingSelector+: value, + }, + muteTimingSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + muteTimingSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + muteTimingSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + muteTimingSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + muteTimingSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + muteTimingSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + muteTimingSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + muteTimingSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withMuteTimings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, + withMuteTimings(value): { + muteTimings: + (if std.isArray(value) + then value + else [value]), + }, + '#withMuteTimingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, + withMuteTimingsMixin(value): { + muteTimings+: + (if std.isArray(value) + then value + else [value]), + }, + '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, + withRepeatInterval(value): { + repeatInterval: value, + }, + }, + '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, + withRepeatInterval(value): { + repeatInterval: value, + }, + }, + '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, + withRepeatInterval(value): { + repeatInterval: value, + }, + }, + '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, + withRepeatInterval(value): { + repeatInterval: value, + }, + }, + '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, + withRepeatInterval(value): { + spec+: { + parameters+: { + initProvider+: { + repeatInterval: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/notificationPolicy/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/alerting/v1alpha1/notificationPolicy/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/notificationPolicy/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/ruleGroup/main.libsonnet b/grafanaplane/alerting/v1alpha1/ruleGroup/main.libsonnet new file mode 100644 index 0000000..cf520af --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/ruleGroup/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'ruleGroup' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'alerting.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'RuleGroup', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/alerting/v1alpha1/ruleGroup/metadata/main.libsonnet b/grafanaplane/alerting/v1alpha1/ruleGroup/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/ruleGroup/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/ruleGroup/spec/compositionRef.libsonnet b/grafanaplane/alerting/v1alpha1/ruleGroup/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/ruleGroup/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/ruleGroup/spec/compositionRevisionRef.libsonnet b/grafanaplane/alerting/v1alpha1/ruleGroup/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/ruleGroup/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/ruleGroup/spec/compositionSelector.libsonnet b/grafanaplane/alerting/v1alpha1/ruleGroup/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/ruleGroup/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/ruleGroup/spec/main.libsonnet b/grafanaplane/alerting/v1alpha1/ruleGroup/spec/main.libsonnet new file mode 100644 index 0000000..2de9d73 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/ruleGroup/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RuleGroupSpec defines the desired state of RuleGroup' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RuleGroupSpec defines the desired state of RuleGroup' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/alerting/v1alpha1/ruleGroup/spec/parameters.libsonnet b/grafanaplane/alerting/v1alpha1/ruleGroup/spec/parameters.libsonnet new file mode 100644 index 0000000..95e87c4 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/ruleGroup/spec/parameters.libsonnet @@ -0,0 +1,1903 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Defaults to false. Defaults to `false`.' } }, + withDisableProvenance(value=true): { + spec+: { + parameters+: { + forProvider+: { + disableProvenance: value, + }, + }, + }, + }, + '#withFolderRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, + withFolderRef(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef: value, + }, + }, + }, + }, + '#withFolderRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, + withFolderRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: value, + }, + }, + }, + }, + folderRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withFolderSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, + withFolderSelector(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector: value, + }, + }, + }, + }, + '#withFolderSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, + withFolderSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: value, + }, + }, + }, + }, + folderSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The UID of the folder that the group belongs to.\nThe UID of the folder that the group belongs to.' } }, + withFolderUid(value): { + spec+: { + parameters+: { + forProvider+: { + folderUid: value, + }, + }, + }, + }, + '#withIntervalSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The interval, in seconds, at which all rules in the group are evaluated. If a group contains many rules, the rules are evaluated sequentially.\nThe interval, in seconds, at which all rules in the group are evaluated. If a group contains many rules, the rules are evaluated sequentially.' } }, + withIntervalSeconds(value): { + spec+: { + parameters+: { + forProvider+: { + intervalSeconds: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the rule group.\nThe name of the rule group.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withRule': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) The rules within the group. (see below for nested schema)\nThe rules within the group.' } }, + withRule(value): { + spec+: { + parameters+: { + forProvider+: { + rule: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withRuleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) The rules within the group. (see below for nested schema)\nThe rules within the group.' } }, + withRuleMixin(value): { + spec+: { + parameters+: { + forProvider+: { + rule+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + rule+: + { + '#': { help: '', name: 'rule' }, + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to map[].\nKey-value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to `map[]`.' } }, + withAnnotations(value): { + annotations: value, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to map[].\nKey-value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to `map[]`.' } }, + withAnnotationsMixin(value): { + annotations+: value, + }, + '#withCondition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ref_id of the query node in the data field to use as the alert condition.\nThe `ref_id` of the query node in the `data` field to use as the alert condition.' } }, + withCondition(value): { + condition: value, + }, + '#withData': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) A sequence of stages that describe the contents of the rule. (see below for nested schema)\nA sequence of stages that describe the contents of the rule.' } }, + withData(value): { + data: + (if std.isArray(value) + then value + else [value]), + }, + '#withDataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) A sequence of stages that describe the contents of the rule. (see below for nested schema)\nA sequence of stages that describe the contents of the rule.' } }, + withDataMixin(value): { + data+: + (if std.isArray(value) + then value + else [value]), + }, + data+: + { + '#': { help: '', name: 'data' }, + '#withDatasourceUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '100" if this stage is an expression stage.\nThe UID of the datasource being queried, or "-100" if this stage is an expression stage.' } }, + withDatasourceUid(value): { + datasourceUid: value, + }, + '#withModel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Custom JSON data to send to the specified datasource when querying.\nCustom JSON data to send to the specified datasource when querying.' } }, + withModel(value): { + model: value, + }, + '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) An optional identifier for the type of query being executed. Defaults to “.\nAn optional identifier for the type of query being executed. Defaults to “.' } }, + withQueryType(value): { + queryType: value, + }, + '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) A unique string to identify this query stage within a rule.\nA unique string to identify this query stage within a rule.' } }, + withRefId(value): { + refId: value, + }, + '#withRelativeTimeRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) The time range, relative to when the query is executed, across which to query. (see below for nested schema)\nThe time range, relative to when the query is executed, across which to query.' } }, + withRelativeTimeRange(value): { + relativeTimeRange: + (if std.isArray(value) + then value + else [value]), + }, + '#withRelativeTimeRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) The time range, relative to when the query is executed, across which to query. (see below for nested schema)\nThe time range, relative to when the query is executed, across which to query.' } }, + withRelativeTimeRangeMixin(value): { + relativeTimeRange+: + (if std.isArray(value) + then value + else [value]), + }, + relativeTimeRange+: + { + '#': { help: '', name: 'relativeTimeRange' }, + '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins.\nThe number of seconds in the past, relative to when the rule is evaluated, at which the time range begins.' } }, + withFrom(value): { + from: value, + }, + '#withTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range ends.\nThe number of seconds in the past, relative to when the rule is evaluated, at which the time range ends.' } }, + withTo(value): { + to: value, + }, + }, + }, + '#withExecErrState': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Describes what state to enter when the rule's query is invalid and the rule cannot be executed. Options are OK, Error, KeepLast, and Alerting. Defaults to Alerting.\nDescribes what state to enter when the rule's query is invalid and the rule cannot be executed. Options are OK, Error, KeepLast, and Alerting. Defaults to `Alerting`." } }, + withExecErrState(value): { + execErrState: value, + }, + '#withFor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The amount of time for which the rule must be breached for the rule to be considered to be Firing. Before this time has elapsed, the rule is only considered to be Pending. Defaults to 0.\nThe amount of time for which the rule must be breached for the rule to be considered to be Firing. Before this time has elapsed, the rule is only considered to be Pending. Defaults to `0`.' } }, + withFor(value): { + 'for': value, + }, + '#withIsPaused': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Sets whether the alert should be paused or not. Defaults to false.\nSets whether the alert should be paused or not. Defaults to `false`.' } }, + withIsPaused(value=true): { + isPaused: value, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to map[].\nKey-value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to `map[]`.' } }, + withLabels(value): { + labels: value, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to map[].\nKey-value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to `map[]`.' } }, + withLabelsMixin(value): { + labels+: value, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the rule group.\nThe name of the alert rule.' } }, + withName(value): { + name: value, + }, + '#withNoDataState': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Describes what state to enter when the rule's query returns No Data. Options are OK, NoData, KeepLast, and Alerting. Defaults to NoData.\nDescribes what state to enter when the rule's query returns No Data. Options are OK, NoData, KeepLast, and Alerting. Defaults to `NoData`." } }, + withNoDataState(value): { + noDataState: value, + }, + '#withNotificationSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Block List, Max: 1) Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. (see below for nested schema)\nNotification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled." } }, + withNotificationSettings(value): { + notificationSettings: + (if std.isArray(value) + then value + else [value]), + }, + '#withNotificationSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Block List, Max: 1) Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. (see below for nested schema)\nNotification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled." } }, + withNotificationSettingsMixin(value): { + notificationSettings+: + (if std.isArray(value) + then value + else [value]), + }, + notificationSettings+: + { + '#': { help: '', name: 'notificationSettings' }, + '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The contact point to route notifications that match this rule to.\nThe contact point to route notifications that match this rule to.' } }, + withContactPoint(value): { + contactPoint: value, + }, + '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRef(value): { + contactPointRef: value, + }, + '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRefMixin(value): { + contactPointRef+: value, + }, + contactPointRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + contactPointRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + contactPointRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + contactPointRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + contactPointRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + contactPointRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelector(value): { + contactPointSelector: value, + }, + '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelectorMixin(value): { + contactPointSelector+: value, + }, + contactPointSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + contactPointSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + contactPointSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + contactPointSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + contactPointSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + contactPointSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + contactPointSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + contactPointSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included." } }, + withGroupBy(value): { + groupBy: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included." } }, + withGroupByMixin(value): { + groupBy+: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, + withGroupInterval(value): { + groupInterval: value, + }, + '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, + withGroupWait(value): { + groupWait: value, + }, + '#withMuteTimings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, + withMuteTimings(value): { + muteTimings: + (if std.isArray(value) + then value + else [value]), + }, + '#withMuteTimingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, + withMuteTimingsMixin(value): { + muteTimings+: + (if std.isArray(value) + then value + else [value]), + }, + '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, + withRepeatInterval(value): { + repeatInterval: value, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Defaults to false. Defaults to `false`.' } }, + withDisableProvenance(value=true): { + spec+: { + parameters+: { + initProvider+: { + disableProvenance: value, + }, + }, + }, + }, + '#withFolderRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, + withFolderRef(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef: value, + }, + }, + }, + }, + '#withFolderRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, + withFolderRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: value, + }, + }, + }, + }, + folderRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withFolderSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, + withFolderSelector(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector: value, + }, + }, + }, + }, + '#withFolderSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, + withFolderSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: value, + }, + }, + }, + }, + folderSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The UID of the folder that the group belongs to.\nThe UID of the folder that the group belongs to.' } }, + withFolderUid(value): { + spec+: { + parameters+: { + initProvider+: { + folderUid: value, + }, + }, + }, + }, + '#withIntervalSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The interval, in seconds, at which all rules in the group are evaluated. If a group contains many rules, the rules are evaluated sequentially.\nThe interval, in seconds, at which all rules in the group are evaluated. If a group contains many rules, the rules are evaluated sequentially.' } }, + withIntervalSeconds(value): { + spec+: { + parameters+: { + initProvider+: { + intervalSeconds: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the rule group.\nThe name of the rule group.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withRule': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) The rules within the group. (see below for nested schema)\nThe rules within the group.' } }, + withRule(value): { + spec+: { + parameters+: { + initProvider+: { + rule: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withRuleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) The rules within the group. (see below for nested schema)\nThe rules within the group.' } }, + withRuleMixin(value): { + spec+: { + parameters+: { + initProvider+: { + rule+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + rule+: + { + '#': { help: '', name: 'rule' }, + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to map[].\nKey-value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to `map[]`.' } }, + withAnnotations(value): { + annotations: value, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to map[].\nKey-value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to `map[]`.' } }, + withAnnotationsMixin(value): { + annotations+: value, + }, + '#withCondition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ref_id of the query node in the data field to use as the alert condition.\nThe `ref_id` of the query node in the `data` field to use as the alert condition.' } }, + withCondition(value): { + condition: value, + }, + '#withData': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) A sequence of stages that describe the contents of the rule. (see below for nested schema)\nA sequence of stages that describe the contents of the rule.' } }, + withData(value): { + data: + (if std.isArray(value) + then value + else [value]), + }, + '#withDataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) A sequence of stages that describe the contents of the rule. (see below for nested schema)\nA sequence of stages that describe the contents of the rule.' } }, + withDataMixin(value): { + data+: + (if std.isArray(value) + then value + else [value]), + }, + data+: + { + '#': { help: '', name: 'data' }, + '#withDatasourceUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '100" if this stage is an expression stage.\nThe UID of the datasource being queried, or "-100" if this stage is an expression stage.' } }, + withDatasourceUid(value): { + datasourceUid: value, + }, + '#withModel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Custom JSON data to send to the specified datasource when querying.\nCustom JSON data to send to the specified datasource when querying.' } }, + withModel(value): { + model: value, + }, + '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) An optional identifier for the type of query being executed. Defaults to “.\nAn optional identifier for the type of query being executed. Defaults to “.' } }, + withQueryType(value): { + queryType: value, + }, + '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) A unique string to identify this query stage within a rule.\nA unique string to identify this query stage within a rule.' } }, + withRefId(value): { + refId: value, + }, + '#withRelativeTimeRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) The time range, relative to when the query is executed, across which to query. (see below for nested schema)\nThe time range, relative to when the query is executed, across which to query.' } }, + withRelativeTimeRange(value): { + relativeTimeRange: + (if std.isArray(value) + then value + else [value]), + }, + '#withRelativeTimeRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) The time range, relative to when the query is executed, across which to query. (see below for nested schema)\nThe time range, relative to when the query is executed, across which to query.' } }, + withRelativeTimeRangeMixin(value): { + relativeTimeRange+: + (if std.isArray(value) + then value + else [value]), + }, + relativeTimeRange+: + { + '#': { help: '', name: 'relativeTimeRange' }, + '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins.\nThe number of seconds in the past, relative to when the rule is evaluated, at which the time range begins.' } }, + withFrom(value): { + from: value, + }, + '#withTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range ends.\nThe number of seconds in the past, relative to when the rule is evaluated, at which the time range ends.' } }, + withTo(value): { + to: value, + }, + }, + }, + '#withExecErrState': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Describes what state to enter when the rule's query is invalid and the rule cannot be executed. Options are OK, Error, KeepLast, and Alerting. Defaults to Alerting.\nDescribes what state to enter when the rule's query is invalid and the rule cannot be executed. Options are OK, Error, KeepLast, and Alerting. Defaults to `Alerting`." } }, + withExecErrState(value): { + execErrState: value, + }, + '#withFor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The amount of time for which the rule must be breached for the rule to be considered to be Firing. Before this time has elapsed, the rule is only considered to be Pending. Defaults to 0.\nThe amount of time for which the rule must be breached for the rule to be considered to be Firing. Before this time has elapsed, the rule is only considered to be Pending. Defaults to `0`.' } }, + withFor(value): { + 'for': value, + }, + '#withIsPaused': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Sets whether the alert should be paused or not. Defaults to false.\nSets whether the alert should be paused or not. Defaults to `false`.' } }, + withIsPaused(value=true): { + isPaused: value, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to map[].\nKey-value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to `map[]`.' } }, + withLabels(value): { + labels: value, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to map[].\nKey-value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to `map[]`.' } }, + withLabelsMixin(value): { + labels+: value, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the rule group.\nThe name of the alert rule.' } }, + withName(value): { + name: value, + }, + '#withNoDataState': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Describes what state to enter when the rule's query returns No Data. Options are OK, NoData, KeepLast, and Alerting. Defaults to NoData.\nDescribes what state to enter when the rule's query returns No Data. Options are OK, NoData, KeepLast, and Alerting. Defaults to `NoData`." } }, + withNoDataState(value): { + noDataState: value, + }, + '#withNotificationSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Block List, Max: 1) Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. (see below for nested schema)\nNotification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled." } }, + withNotificationSettings(value): { + notificationSettings: + (if std.isArray(value) + then value + else [value]), + }, + '#withNotificationSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Block List, Max: 1) Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. (see below for nested schema)\nNotification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled." } }, + withNotificationSettingsMixin(value): { + notificationSettings+: + (if std.isArray(value) + then value + else [value]), + }, + notificationSettings+: + { + '#': { help: '', name: 'notificationSettings' }, + '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The contact point to route notifications that match this rule to.\nThe contact point to route notifications that match this rule to.' } }, + withContactPoint(value): { + contactPoint: value, + }, + '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRef(value): { + contactPointRef: value, + }, + '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointRefMixin(value): { + contactPointRef+: value, + }, + contactPointRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + contactPointRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + contactPointRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + contactPointRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + contactPointRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + contactPointRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelector(value): { + contactPointSelector: value, + }, + '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, + withContactPointSelectorMixin(value): { + contactPointSelector+: value, + }, + contactPointSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + contactPointSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + contactPointSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + contactPointSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + contactPointSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + contactPointSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + contactPointSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + contactPointSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included." } }, + withGroupBy(value): { + groupBy: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included." } }, + withGroupByMixin(value): { + groupBy+: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, + withGroupInterval(value): { + groupInterval: value, + }, + '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, + withGroupWait(value): { + groupWait: value, + }, + '#withMuteTimings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, + withMuteTimings(value): { + muteTimings: + (if std.isArray(value) + then value + else [value]), + }, + '#withMuteTimingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, + withMuteTimingsMixin(value): { + muteTimings+: + (if std.isArray(value) + then value + else [value]), + }, + '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, + withRepeatInterval(value): { + repeatInterval: value, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/alerting/v1alpha1/ruleGroup/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/alerting/v1alpha1/ruleGroup/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/alerting/v1alpha1/ruleGroup/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/main.libsonnet b/grafanaplane/cloud/main.libsonnet new file mode 100644 index 0000000..295d29c --- /dev/null +++ b/grafanaplane/cloud/main.libsonnet @@ -0,0 +1,4 @@ +{ + '#': { help: '', name: 'cloud' }, + v1alpha1+: import './v1alpha1/main.libsonnet', +} diff --git a/grafanaplane/cloud/v1alpha1/accessPolicy/main.libsonnet b/grafanaplane/cloud/v1alpha1/accessPolicy/main.libsonnet new file mode 100644 index 0000000..a008a94 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/accessPolicy/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'accessPolicy' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'cloud.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'AccessPolicy', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/cloud/v1alpha1/accessPolicy/metadata/main.libsonnet b/grafanaplane/cloud/v1alpha1/accessPolicy/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/accessPolicy/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/accessPolicy/spec/compositionRef.libsonnet b/grafanaplane/cloud/v1alpha1/accessPolicy/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/accessPolicy/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/accessPolicy/spec/compositionRevisionRef.libsonnet b/grafanaplane/cloud/v1alpha1/accessPolicy/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/accessPolicy/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/accessPolicy/spec/compositionSelector.libsonnet b/grafanaplane/cloud/v1alpha1/accessPolicy/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/accessPolicy/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/accessPolicy/spec/main.libsonnet b/grafanaplane/cloud/v1alpha1/accessPolicy/spec/main.libsonnet new file mode 100644 index 0000000..e18e28a --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/accessPolicy/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'AccessPolicySpec defines the desired state of AccessPolicy' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'AccessPolicySpec defines the desired state of AccessPolicy' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/cloud/v1alpha1/accessPolicy/spec/parameters.libsonnet b/grafanaplane/cloud/v1alpha1/accessPolicy/spec/parameters.libsonnet new file mode 100644 index 0000000..e429a92 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/accessPolicy/spec/parameters.libsonnet @@ -0,0 +1,835 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withDisplayName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Display name of the access policy. Defaults to the name.\nDisplay name of the access policy. Defaults to the name.' } }, + withDisplayName(value): { + spec+: { + parameters+: { + forProvider+: { + displayName: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the access policy.\nName of the access policy.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withRealm': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1) (see below for nested schema)' } }, + withRealm(value): { + spec+: { + parameters+: { + forProvider+: { + realm: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withRealmMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1) (see below for nested schema)' } }, + withRealmMixin(value): { + spec+: { + parameters+: { + forProvider+: { + realm+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + realm+: + { + '#': { help: '', name: 'realm' }, + '#withIdentifier': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The identifier of the org or stack. For orgs, this is the slug, for stacks, this is the stack ID.\nThe identifier of the org or stack. For orgs, this is the slug, for stacks, this is the stack ID.' } }, + withIdentifier(value): { + identifier: value, + }, + '#withLabelPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) (see below for nested schema)' } }, + withLabelPolicy(value): { + labelPolicy: + (if std.isArray(value) + then value + else [value]), + }, + '#withLabelPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) (see below for nested schema)' } }, + withLabelPolicyMixin(value): { + labelPolicy+: + (if std.isArray(value) + then value + else [value]), + }, + labelPolicy+: + { + '#': { help: '', name: 'labelPolicy' }, + '#withSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The label selector to match in metrics or logs query. Should be in PromQL or LogQL format.\nThe label selector to match in metrics or logs query. Should be in PromQL or LogQL format.' } }, + withSelector(value): { + selector: value, + }, + }, + '#withStackRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate identifier.' } }, + withStackRef(value): { + stackRef: value, + }, + '#withStackRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate identifier.' } }, + withStackRefMixin(value): { + stackRef+: value, + }, + stackRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + stackRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + stackRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + stackRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + stackRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + stackRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withStackSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate identifier.' } }, + withStackSelector(value): { + stackSelector: value, + }, + '#withStackSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate identifier.' } }, + withStackSelectorMixin(value): { + stackSelector+: value, + }, + stackSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + stackSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + stackSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + stackSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + stackSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + stackSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + stackSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + stackSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Whether a policy applies to a Cloud org or a specific stack. Should be one of org or stack.\nWhether a policy applies to a Cloud org or a specific stack. Should be one of `org` or `stack`.' } }, + withType(value): { + type: value, + }, + }, + '#withRegion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'cloud/developer-resources/api-reference/cloud-api/#list-regions.\nRegion where the API is deployed. Generally where the stack is deployed. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.' } }, + withRegion(value): { + spec+: { + parameters+: { + forProvider+: { + region: value, + }, + }, + }, + }, + '#withScopes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.\nScopes of the access policy. See https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.' } }, + withScopes(value): { + spec+: { + parameters+: { + forProvider+: { + scopes: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withScopesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.\nScopes of the access policy. See https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.' } }, + withScopesMixin(value): { + spec+: { + parameters+: { + forProvider+: { + scopes+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withDisplayName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Display name of the access policy. Defaults to the name.\nDisplay name of the access policy. Defaults to the name.' } }, + withDisplayName(value): { + spec+: { + parameters+: { + initProvider+: { + displayName: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the access policy.\nName of the access policy.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withRealm': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1) (see below for nested schema)' } }, + withRealm(value): { + spec+: { + parameters+: { + initProvider+: { + realm: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withRealmMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1) (see below for nested schema)' } }, + withRealmMixin(value): { + spec+: { + parameters+: { + initProvider+: { + realm+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + realm+: + { + '#': { help: '', name: 'realm' }, + '#withIdentifier': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The identifier of the org or stack. For orgs, this is the slug, for stacks, this is the stack ID.\nThe identifier of the org or stack. For orgs, this is the slug, for stacks, this is the stack ID.' } }, + withIdentifier(value): { + identifier: value, + }, + '#withLabelPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) (see below for nested schema)' } }, + withLabelPolicy(value): { + labelPolicy: + (if std.isArray(value) + then value + else [value]), + }, + '#withLabelPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) (see below for nested schema)' } }, + withLabelPolicyMixin(value): { + labelPolicy+: + (if std.isArray(value) + then value + else [value]), + }, + labelPolicy+: + { + '#': { help: '', name: 'labelPolicy' }, + '#withSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The label selector to match in metrics or logs query. Should be in PromQL or LogQL format.\nThe label selector to match in metrics or logs query. Should be in PromQL or LogQL format.' } }, + withSelector(value): { + selector: value, + }, + }, + '#withStackRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate identifier.' } }, + withStackRef(value): { + stackRef: value, + }, + '#withStackRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate identifier.' } }, + withStackRefMixin(value): { + stackRef+: value, + }, + stackRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + stackRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + stackRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + stackRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + stackRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + stackRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withStackSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate identifier.' } }, + withStackSelector(value): { + stackSelector: value, + }, + '#withStackSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate identifier.' } }, + withStackSelectorMixin(value): { + stackSelector+: value, + }, + stackSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + stackSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + stackSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + stackSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + stackSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + stackSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + stackSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + stackSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Whether a policy applies to a Cloud org or a specific stack. Should be one of org or stack.\nWhether a policy applies to a Cloud org or a specific stack. Should be one of `org` or `stack`.' } }, + withType(value): { + type: value, + }, + }, + '#withRegion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'cloud/developer-resources/api-reference/cloud-api/#list-regions.\nRegion where the API is deployed. Generally where the stack is deployed. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.' } }, + withRegion(value): { + spec+: { + parameters+: { + initProvider+: { + region: value, + }, + }, + }, + }, + '#withScopes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.\nScopes of the access policy. See https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.' } }, + withScopes(value): { + spec+: { + parameters+: { + initProvider+: { + scopes: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withScopesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.\nScopes of the access policy. See https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.' } }, + withScopesMixin(value): { + spec+: { + parameters+: { + initProvider+: { + scopes+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/accessPolicy/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/cloud/v1alpha1/accessPolicy/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/accessPolicy/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/accessPolicyToken/main.libsonnet b/grafanaplane/cloud/v1alpha1/accessPolicyToken/main.libsonnet new file mode 100644 index 0000000..87bf110 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/accessPolicyToken/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'accessPolicyToken' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'cloud.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'AccessPolicyToken', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/cloud/v1alpha1/accessPolicyToken/metadata/main.libsonnet b/grafanaplane/cloud/v1alpha1/accessPolicyToken/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/accessPolicyToken/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/accessPolicyToken/spec/compositionRef.libsonnet b/grafanaplane/cloud/v1alpha1/accessPolicyToken/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/accessPolicyToken/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/accessPolicyToken/spec/compositionRevisionRef.libsonnet b/grafanaplane/cloud/v1alpha1/accessPolicyToken/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/accessPolicyToken/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/accessPolicyToken/spec/compositionSelector.libsonnet b/grafanaplane/cloud/v1alpha1/accessPolicyToken/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/accessPolicyToken/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/accessPolicyToken/spec/main.libsonnet b/grafanaplane/cloud/v1alpha1/accessPolicyToken/spec/main.libsonnet new file mode 100644 index 0000000..fb55366 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/accessPolicyToken/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'AccessPolicyTokenSpec defines the desired state of AccessPolicyToken' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'AccessPolicyTokenSpec defines the desired state of AccessPolicyToken' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/cloud/v1alpha1/accessPolicyToken/spec/parameters.libsonnet b/grafanaplane/cloud/v1alpha1/accessPolicyToken/spec/parameters.libsonnet new file mode 100644 index 0000000..a846638 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/accessPolicyToken/spec/parameters.libsonnet @@ -0,0 +1,895 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withAccessPolicyId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the access policy for which to create a token.\nID of the access policy for which to create a token.' } }, + withAccessPolicyId(value): { + spec+: { + parameters+: { + forProvider+: { + accessPolicyId: value, + }, + }, + }, + }, + '#withAccessPolicyRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a AccessPolicy in cloud to populate accessPolicyId.' } }, + withAccessPolicyRef(value): { + spec+: { + parameters+: { + forProvider+: { + accessPolicyRef: value, + }, + }, + }, + }, + '#withAccessPolicyRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a AccessPolicy in cloud to populate accessPolicyId.' } }, + withAccessPolicyRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + accessPolicyRef+: value, + }, + }, + }, + }, + accessPolicyRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + accessPolicyRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + accessPolicyRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + accessPolicyRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + accessPolicyRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + accessPolicyRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withAccessPolicySelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a AccessPolicy in cloud to populate accessPolicyId.' } }, + withAccessPolicySelector(value): { + spec+: { + parameters+: { + forProvider+: { + accessPolicySelector: value, + }, + }, + }, + }, + '#withAccessPolicySelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a AccessPolicy in cloud to populate accessPolicyId.' } }, + withAccessPolicySelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + accessPolicySelector+: value, + }, + }, + }, + }, + accessPolicySelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + accessPolicySelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + accessPolicySelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + accessPolicySelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + accessPolicySelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + accessPolicySelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + accessPolicySelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + accessPolicySelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDisplayName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Display name of the access policy token. Defaults to the name.\nDisplay name of the access policy token. Defaults to the name.' } }, + withDisplayName(value): { + spec+: { + parameters+: { + forProvider+: { + displayName: value, + }, + }, + }, + }, + '#withExpiresAt': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Expiration date of the access policy token. Does not expire by default.\nExpiration date of the access policy token. Does not expire by default.' } }, + withExpiresAt(value): { + spec+: { + parameters+: { + forProvider+: { + expiresAt: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the access policy token.\nName of the access policy token.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withRegion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'cloud/developer-resources/api-reference/cloud-api/#list-regions.\nRegion of the access policy. Should be set to the same region as the access policy. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.' } }, + withRegion(value): { + spec+: { + parameters+: { + forProvider+: { + region: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withAccessPolicyId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the access policy for which to create a token.\nID of the access policy for which to create a token.' } }, + withAccessPolicyId(value): { + spec+: { + parameters+: { + initProvider+: { + accessPolicyId: value, + }, + }, + }, + }, + '#withAccessPolicyRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a AccessPolicy in cloud to populate accessPolicyId.' } }, + withAccessPolicyRef(value): { + spec+: { + parameters+: { + initProvider+: { + accessPolicyRef: value, + }, + }, + }, + }, + '#withAccessPolicyRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a AccessPolicy in cloud to populate accessPolicyId.' } }, + withAccessPolicyRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + accessPolicyRef+: value, + }, + }, + }, + }, + accessPolicyRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + accessPolicyRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + accessPolicyRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + accessPolicyRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + accessPolicyRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + accessPolicyRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withAccessPolicySelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a AccessPolicy in cloud to populate accessPolicyId.' } }, + withAccessPolicySelector(value): { + spec+: { + parameters+: { + initProvider+: { + accessPolicySelector: value, + }, + }, + }, + }, + '#withAccessPolicySelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a AccessPolicy in cloud to populate accessPolicyId.' } }, + withAccessPolicySelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + accessPolicySelector+: value, + }, + }, + }, + }, + accessPolicySelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + accessPolicySelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + accessPolicySelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + accessPolicySelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + accessPolicySelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + accessPolicySelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + accessPolicySelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + accessPolicySelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDisplayName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Display name of the access policy token. Defaults to the name.\nDisplay name of the access policy token. Defaults to the name.' } }, + withDisplayName(value): { + spec+: { + parameters+: { + initProvider+: { + displayName: value, + }, + }, + }, + }, + '#withExpiresAt': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Expiration date of the access policy token. Does not expire by default.\nExpiration date of the access policy token. Does not expire by default.' } }, + withExpiresAt(value): { + spec+: { + parameters+: { + initProvider+: { + expiresAt: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the access policy token.\nName of the access policy token.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withRegion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'cloud/developer-resources/api-reference/cloud-api/#list-regions.\nRegion of the access policy. Should be set to the same region as the access policy. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.' } }, + withRegion(value): { + spec+: { + parameters+: { + initProvider+: { + region: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/accessPolicyToken/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/cloud/v1alpha1/accessPolicyToken/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/accessPolicyToken/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/main.libsonnet b/grafanaplane/cloud/v1alpha1/main.libsonnet new file mode 100644 index 0000000..306f1ce --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/main.libsonnet @@ -0,0 +1,8 @@ +{ + accessPolicy+: import './accessPolicy/main.libsonnet', + accessPolicyToken+: import './accessPolicyToken/main.libsonnet', + pluginInstallation+: import './pluginInstallation/main.libsonnet', + stack+: import './stack/main.libsonnet', + stackServiceAccount+: import './stackServiceAccount/main.libsonnet', + stackServiceAccountToken+: import './stackServiceAccountToken/main.libsonnet', +} diff --git a/grafanaplane/cloud/v1alpha1/pluginInstallation/main.libsonnet b/grafanaplane/cloud/v1alpha1/pluginInstallation/main.libsonnet new file mode 100644 index 0000000..47e704d --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/pluginInstallation/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'pluginInstallation' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'cloud.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'PluginInstallation', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/cloud/v1alpha1/pluginInstallation/metadata/main.libsonnet b/grafanaplane/cloud/v1alpha1/pluginInstallation/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/pluginInstallation/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/pluginInstallation/spec/compositionRef.libsonnet b/grafanaplane/cloud/v1alpha1/pluginInstallation/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/pluginInstallation/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/pluginInstallation/spec/compositionRevisionRef.libsonnet b/grafanaplane/cloud/v1alpha1/pluginInstallation/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/pluginInstallation/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/pluginInstallation/spec/compositionSelector.libsonnet b/grafanaplane/cloud/v1alpha1/pluginInstallation/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/pluginInstallation/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/pluginInstallation/spec/main.libsonnet b/grafanaplane/cloud/v1alpha1/pluginInstallation/spec/main.libsonnet new file mode 100644 index 0000000..38b6bfe --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/pluginInstallation/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PluginInstallationSpec defines the desired state of PluginInstallation' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PluginInstallationSpec defines the desired state of PluginInstallation' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/cloud/v1alpha1/pluginInstallation/spec/parameters.libsonnet b/grafanaplane/cloud/v1alpha1/pluginInstallation/spec/parameters.libsonnet new file mode 100644 index 0000000..1549233 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/pluginInstallation/spec/parameters.libsonnet @@ -0,0 +1,855 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withCloudStackRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, + withCloudStackRef(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef: value, + }, + }, + }, + }, + '#withCloudStackRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, + withCloudStackRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: value, + }, + }, + }, + }, + cloudStackRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withCloudStackSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, + withCloudStackSelector(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector: value, + }, + }, + }, + }, + '#withCloudStackSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, + withCloudStackSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: value, + }, + }, + }, + }, + cloudStackSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Slug of the plugin to be installed.\nSlug of the plugin to be installed.' } }, + withSlug(value): { + spec+: { + parameters+: { + forProvider+: { + slug: value, + }, + }, + }, + }, + '#withStackSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The stack id to which the plugin should be installed.\nThe stack id to which the plugin should be installed.' } }, + withStackSlug(value): { + spec+: { + parameters+: { + forProvider+: { + stackSlug: value, + }, + }, + }, + }, + '#withVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Version of the plugin to be installed.\nVersion of the plugin to be installed.' } }, + withVersion(value): { + spec+: { + parameters+: { + forProvider+: { + version: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withCloudStackRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, + withCloudStackRef(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef: value, + }, + }, + }, + }, + '#withCloudStackRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, + withCloudStackRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: value, + }, + }, + }, + }, + cloudStackRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withCloudStackSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, + withCloudStackSelector(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector: value, + }, + }, + }, + }, + '#withCloudStackSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, + withCloudStackSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: value, + }, + }, + }, + }, + cloudStackSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Slug of the plugin to be installed.\nSlug of the plugin to be installed.' } }, + withSlug(value): { + spec+: { + parameters+: { + initProvider+: { + slug: value, + }, + }, + }, + }, + '#withStackSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The stack id to which the plugin should be installed.\nThe stack id to which the plugin should be installed.' } }, + withStackSlug(value): { + spec+: { + parameters+: { + initProvider+: { + stackSlug: value, + }, + }, + }, + }, + '#withVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Version of the plugin to be installed.\nVersion of the plugin to be installed.' } }, + withVersion(value): { + spec+: { + parameters+: { + initProvider+: { + version: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/pluginInstallation/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/cloud/v1alpha1/pluginInstallation/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/pluginInstallation/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/stack/main.libsonnet b/grafanaplane/cloud/v1alpha1/stack/main.libsonnet new file mode 100644 index 0000000..833e4c0 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stack/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'stack' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'cloud.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'Stack', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/cloud/v1alpha1/stack/metadata/main.libsonnet b/grafanaplane/cloud/v1alpha1/stack/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stack/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/stack/spec/compositionRef.libsonnet b/grafanaplane/cloud/v1alpha1/stack/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stack/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/stack/spec/compositionRevisionRef.libsonnet b/grafanaplane/cloud/v1alpha1/stack/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stack/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/stack/spec/compositionSelector.libsonnet b/grafanaplane/cloud/v1alpha1/stack/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stack/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/stack/spec/main.libsonnet b/grafanaplane/cloud/v1alpha1/stack/spec/main.libsonnet new file mode 100644 index 0000000..5b5dac8 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stack/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'StackSpec defines the desired state of Stack' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'StackSpec defines the desired state of Stack' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/cloud/v1alpha1/stack/spec/parameters.libsonnet b/grafanaplane/cloud/v1alpha1/stack/spec/parameters.libsonnet new file mode 100644 index 0000000..4d5c996 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stack/spec/parameters.libsonnet @@ -0,0 +1,567 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Description of stack.\nDescription of stack.' } }, + withDescription(value): { + spec+: { + parameters+: { + forProvider+: { + description: value, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'zA-Z0-9/\\-.]+$" and stacks cannot have more than 10 labels.\nA map of labels to assign to the stack. Label keys and values must match the following regexp: "^[a-zA-Z0-9/\\\\-.]+$" and stacks cannot have more than 10 labels.' } }, + withLabels(value): { + spec+: { + parameters+: { + forProvider+: { + labels: value, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'zA-Z0-9/\\-.]+$" and stacks cannot have more than 10 labels.\nA map of labels to assign to the stack. Label keys and values must match the following regexp: "^[a-zA-Z0-9/\\\\-.]+$" and stacks cannot have more than 10 labels.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + labels+: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of stack. Conventionally matches the url of the instance (e.g. .grafana.net).\nName of stack. Conventionally matches the url of the instance (e.g. `.grafana.net`).' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withRegionSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'cloud/developer-resources/api-reference/cloud-api/#list-regions.\nRegion slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.' } }, + withRegionSlug(value): { + spec+: { + parameters+: { + forProvider+: { + regionSlug: value, + }, + }, + }, + }, + '#withSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Subdomain that the Grafana instance will be available at. Setting slug to will make the instance available at https://.grafana.net.\nSubdomain that the Grafana instance will be available at. Setting slug to `` will make the instance available at `https://.grafana.net`.' } }, + withSlug(value): { + spec+: { + parameters+: { + forProvider+: { + slug: value, + }, + }, + }, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Custom URL for the Grafana instance. Must have a CNAME setup to point to .grafana.net before creating the stack\nCustom URL for the Grafana instance. Must have a CNAME setup to point to `.grafana.net` before creating the stack' } }, + withUrl(value): { + spec+: { + parameters+: { + forProvider+: { + url: value, + }, + }, + }, + }, + '#withWaitForReadiness': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to true.\nWhether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to `true`.' } }, + withWaitForReadiness(value=true): { + spec+: { + parameters+: { + forProvider+: { + waitForReadiness: value, + }, + }, + }, + }, + '#withWaitForReadinessTimeout': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) How long to wait for readiness (if enabled). Defaults to 5m0s.\nHow long to wait for readiness (if enabled). Defaults to `5m0s`.' } }, + withWaitForReadinessTimeout(value): { + spec+: { + parameters+: { + forProvider+: { + waitForReadinessTimeout: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Description of stack.\nDescription of stack.' } }, + withDescription(value): { + spec+: { + parameters+: { + initProvider+: { + description: value, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'zA-Z0-9/\\-.]+$" and stacks cannot have more than 10 labels.\nA map of labels to assign to the stack. Label keys and values must match the following regexp: "^[a-zA-Z0-9/\\\\-.]+$" and stacks cannot have more than 10 labels.' } }, + withLabels(value): { + spec+: { + parameters+: { + initProvider+: { + labels: value, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'zA-Z0-9/\\-.]+$" and stacks cannot have more than 10 labels.\nA map of labels to assign to the stack. Label keys and values must match the following regexp: "^[a-zA-Z0-9/\\\\-.]+$" and stacks cannot have more than 10 labels.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + labels+: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of stack. Conventionally matches the url of the instance (e.g. .grafana.net).\nName of stack. Conventionally matches the url of the instance (e.g. `.grafana.net`).' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withRegionSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'cloud/developer-resources/api-reference/cloud-api/#list-regions.\nRegion slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.' } }, + withRegionSlug(value): { + spec+: { + parameters+: { + initProvider+: { + regionSlug: value, + }, + }, + }, + }, + '#withSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Subdomain that the Grafana instance will be available at. Setting slug to will make the instance available at https://.grafana.net.\nSubdomain that the Grafana instance will be available at. Setting slug to `` will make the instance available at `https://.grafana.net`.' } }, + withSlug(value): { + spec+: { + parameters+: { + initProvider+: { + slug: value, + }, + }, + }, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Custom URL for the Grafana instance. Must have a CNAME setup to point to .grafana.net before creating the stack\nCustom URL for the Grafana instance. Must have a CNAME setup to point to `.grafana.net` before creating the stack' } }, + withUrl(value): { + spec+: { + parameters+: { + initProvider+: { + url: value, + }, + }, + }, + }, + '#withWaitForReadiness': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to true.\nWhether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to `true`.' } }, + withWaitForReadiness(value=true): { + spec+: { + parameters+: { + initProvider+: { + waitForReadiness: value, + }, + }, + }, + }, + '#withWaitForReadinessTimeout': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) How long to wait for readiness (if enabled). Defaults to 5m0s.\nHow long to wait for readiness (if enabled). Defaults to `5m0s`.' } }, + withWaitForReadinessTimeout(value): { + spec+: { + parameters+: { + initProvider+: { + waitForReadinessTimeout: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/stack/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/cloud/v1alpha1/stack/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stack/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/stackServiceAccount/main.libsonnet b/grafanaplane/cloud/v1alpha1/stackServiceAccount/main.libsonnet new file mode 100644 index 0000000..b0779d0 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stackServiceAccount/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'stackServiceAccount' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'cloud.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'StackServiceAccount', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/cloud/v1alpha1/stackServiceAccount/metadata/main.libsonnet b/grafanaplane/cloud/v1alpha1/stackServiceAccount/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stackServiceAccount/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/stackServiceAccount/spec/compositionRef.libsonnet b/grafanaplane/cloud/v1alpha1/stackServiceAccount/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stackServiceAccount/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/stackServiceAccount/spec/compositionRevisionRef.libsonnet b/grafanaplane/cloud/v1alpha1/stackServiceAccount/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stackServiceAccount/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/stackServiceAccount/spec/compositionSelector.libsonnet b/grafanaplane/cloud/v1alpha1/stackServiceAccount/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stackServiceAccount/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/stackServiceAccount/spec/main.libsonnet b/grafanaplane/cloud/v1alpha1/stackServiceAccount/spec/main.libsonnet new file mode 100644 index 0000000..fab63f9 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stackServiceAccount/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'StackServiceAccountSpec defines the desired state of StackServiceAccount' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'StackServiceAccountSpec defines the desired state of StackServiceAccount' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/cloud/v1alpha1/stackServiceAccount/spec/parameters.libsonnet b/grafanaplane/cloud/v1alpha1/stackServiceAccount/spec/parameters.libsonnet new file mode 100644 index 0000000..ae97e80 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stackServiceAccount/spec/parameters.libsonnet @@ -0,0 +1,875 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withCloudStackRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, + withCloudStackRef(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef: value, + }, + }, + }, + }, + '#withCloudStackRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, + withCloudStackRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: value, + }, + }, + }, + }, + cloudStackRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withCloudStackSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, + withCloudStackSelector(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector: value, + }, + }, + }, + }, + '#withCloudStackSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, + withCloudStackSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: value, + }, + }, + }, + }, + cloudStackSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withIsDisabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) The disabled status for the service account. Defaults to false.\nThe disabled status for the service account. Defaults to `false`.' } }, + withIsDisabled(value=true): { + spec+: { + parameters+: { + forProvider+: { + isDisabled: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the service account.\nThe name of the service account.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The basic role of the service account in the organization.\nThe basic role of the service account in the organization.' } }, + withRole(value): { + spec+: { + parameters+: { + forProvider+: { + role: value, + }, + }, + }, + }, + '#withStackSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withStackSlug(value): { + spec+: { + parameters+: { + forProvider+: { + stackSlug: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withCloudStackRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, + withCloudStackRef(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef: value, + }, + }, + }, + }, + '#withCloudStackRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, + withCloudStackRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: value, + }, + }, + }, + }, + cloudStackRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withCloudStackSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, + withCloudStackSelector(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector: value, + }, + }, + }, + }, + '#withCloudStackSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, + withCloudStackSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: value, + }, + }, + }, + }, + cloudStackSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withIsDisabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) The disabled status for the service account. Defaults to false.\nThe disabled status for the service account. Defaults to `false`.' } }, + withIsDisabled(value=true): { + spec+: { + parameters+: { + initProvider+: { + isDisabled: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the service account.\nThe name of the service account.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The basic role of the service account in the organization.\nThe basic role of the service account in the organization.' } }, + withRole(value): { + spec+: { + parameters+: { + initProvider+: { + role: value, + }, + }, + }, + }, + '#withStackSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withStackSlug(value): { + spec+: { + parameters+: { + initProvider+: { + stackSlug: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/stackServiceAccount/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/cloud/v1alpha1/stackServiceAccount/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stackServiceAccount/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/main.libsonnet b/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/main.libsonnet new file mode 100644 index 0000000..e5a8c3f --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'stackServiceAccountToken' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'cloud.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'StackServiceAccountToken', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/metadata/main.libsonnet b/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/spec/compositionRef.libsonnet b/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/spec/compositionRevisionRef.libsonnet b/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/spec/compositionSelector.libsonnet b/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/spec/main.libsonnet b/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/spec/main.libsonnet new file mode 100644 index 0000000..8faabf4 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'StackServiceAccountTokenSpec defines the desired state of StackServiceAccountToken' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'StackServiceAccountTokenSpec defines the desired state of StackServiceAccountToken' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/spec/parameters.libsonnet b/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/spec/parameters.libsonnet new file mode 100644 index 0000000..da3db62 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/spec/parameters.libsonnet @@ -0,0 +1,1283 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withCloudStackRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, + withCloudStackRef(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef: value, + }, + }, + }, + }, + '#withCloudStackRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, + withCloudStackRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: value, + }, + }, + }, + }, + cloudStackRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withCloudStackSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, + withCloudStackSelector(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector: value, + }, + }, + }, + }, + '#withCloudStackSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, + withCloudStackSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: value, + }, + }, + }, + }, + cloudStackSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withSecondsToLive': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number)' } }, + withSecondsToLive(value): { + spec+: { + parameters+: { + forProvider+: { + secondsToLive: value, + }, + }, + }, + }, + '#withServiceAccountId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withServiceAccountId(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountId: value, + }, + }, + }, + }, + '#withServiceAccountRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a StackServiceAccount in cloud to populate serviceAccountId.' } }, + withServiceAccountRef(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRef: value, + }, + }, + }, + }, + '#withServiceAccountRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a StackServiceAccount in cloud to populate serviceAccountId.' } }, + withServiceAccountRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRef+: value, + }, + }, + }, + }, + serviceAccountRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withServiceAccountSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a StackServiceAccount in cloud to populate serviceAccountId.' } }, + withServiceAccountSelector(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector: value, + }, + }, + }, + }, + '#withServiceAccountSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a StackServiceAccount in cloud to populate serviceAccountId.' } }, + withServiceAccountSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: value, + }, + }, + }, + }, + serviceAccountSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withStackSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withStackSlug(value): { + spec+: { + parameters+: { + forProvider+: { + stackSlug: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withCloudStackRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, + withCloudStackRef(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef: value, + }, + }, + }, + }, + '#withCloudStackRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, + withCloudStackRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: value, + }, + }, + }, + }, + cloudStackRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withCloudStackSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, + withCloudStackSelector(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector: value, + }, + }, + }, + }, + '#withCloudStackSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, + withCloudStackSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: value, + }, + }, + }, + }, + cloudStackSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withSecondsToLive': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number)' } }, + withSecondsToLive(value): { + spec+: { + parameters+: { + initProvider+: { + secondsToLive: value, + }, + }, + }, + }, + '#withServiceAccountId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withServiceAccountId(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountId: value, + }, + }, + }, + }, + '#withServiceAccountRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a StackServiceAccount in cloud to populate serviceAccountId.' } }, + withServiceAccountRef(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRef: value, + }, + }, + }, + }, + '#withServiceAccountRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a StackServiceAccount in cloud to populate serviceAccountId.' } }, + withServiceAccountRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRef+: value, + }, + }, + }, + }, + serviceAccountRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withServiceAccountSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a StackServiceAccount in cloud to populate serviceAccountId.' } }, + withServiceAccountSelector(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector: value, + }, + }, + }, + }, + '#withServiceAccountSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a StackServiceAccount in cloud to populate serviceAccountId.' } }, + withServiceAccountSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: value, + }, + }, + }, + }, + serviceAccountSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withStackSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withStackSlug(value): { + spec+: { + parameters+: { + initProvider+: { + stackSlug: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/cloud/v1alpha1/stackServiceAccountToken/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/main.libsonnet b/grafanaplane/enterprise/main.libsonnet new file mode 100644 index 0000000..c4dfa81 --- /dev/null +++ b/grafanaplane/enterprise/main.libsonnet @@ -0,0 +1,4 @@ +{ + '#': { help: '', name: 'enterprise' }, + v1alpha1+: import './v1alpha1/main.libsonnet', +} diff --git a/grafanaplane/enterprise/v1alpha1/dataSourcePermission/main.libsonnet b/grafanaplane/enterprise/v1alpha1/dataSourcePermission/main.libsonnet new file mode 100644 index 0000000..35144a0 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/dataSourcePermission/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'dataSourcePermission' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'enterprise.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'DataSourcePermission', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/enterprise/v1alpha1/dataSourcePermission/metadata/main.libsonnet b/grafanaplane/enterprise/v1alpha1/dataSourcePermission/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/dataSourcePermission/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/compositionRef.libsonnet b/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/compositionRevisionRef.libsonnet b/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/compositionSelector.libsonnet b/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/main.libsonnet b/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/main.libsonnet new file mode 100644 index 0000000..5fcb8a6 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'DataSourcePermissionSpec defines the desired state of DataSourcePermission' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'DataSourcePermissionSpec defines the desired state of DataSourcePermission' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/parameters.libsonnet b/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/parameters.libsonnet new file mode 100644 index 0000000..4640ec3 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/parameters.libsonnet @@ -0,0 +1,1359 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withDatasourceUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) UID of the datasource to apply permissions to.\nUID of the datasource to apply permissions to.' } }, + withDatasourceUid(value): { + spec+: { + parameters+: { + forProvider+: { + datasourceUid: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withPermissions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, + withPermissions(value): { + spec+: { + parameters+: { + forProvider+: { + permissions: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPermissionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, + withPermissionsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + permissions+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + permissions+: + { + '#': { help: '', name: 'permissions' }, + '#withBuiltInRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`.' } }, + withBuiltInRole(value): { + builtInRole: value, + }, + '#withPermission': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Permission to associate with item. Options: Query, Edit or Admin (Admin can only be used with Grafana v10.3.0+).\nPermission to associate with item. Options: `Query`, `Edit` or `Admin` (`Admin` can only be used with Grafana v10.3.0+).' } }, + withPermission(value): { + permission: value, + }, + '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the team to manage permissions for. Defaults to 0.\nID of the team to manage permissions for. Defaults to `0`.' } }, + withTeamId(value): { + teamId: value, + }, + '#withTeamRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, + withTeamRef(value): { + teamRef: value, + }, + '#withTeamRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, + withTeamRefMixin(value): { + teamRef+: value, + }, + teamRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + teamRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + teamRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + teamRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + teamRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + teamRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, + withTeamSelector(value): { + teamSelector: value, + }, + '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, + withTeamSelectorMixin(value): { + teamSelector+: value, + }, + teamSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + teamSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + teamSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + teamSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + teamSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + teamSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + teamSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + teamSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withUserId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the user or service account to manage permissions for. Defaults to 0.\nID of the user or service account to manage permissions for. Defaults to `0`.' } }, + withUserId(value): { + userId: value, + }, + '#withUserRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, + withUserRef(value): { + userRef: value, + }, + '#withUserRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, + withUserRefMixin(value): { + userRef+: value, + }, + userRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + userRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + userRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + userRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + userRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + userRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withUserSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, + withUserSelector(value): { + userSelector: value, + }, + '#withUserSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, + withUserSelectorMixin(value): { + userSelector+: value, + }, + userSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + userSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + userSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + userSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + userSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + userSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + userSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + userSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withDatasourceUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) UID of the datasource to apply permissions to.\nUID of the datasource to apply permissions to.' } }, + withDatasourceUid(value): { + spec+: { + parameters+: { + initProvider+: { + datasourceUid: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withPermissions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, + withPermissions(value): { + spec+: { + parameters+: { + initProvider+: { + permissions: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPermissionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, + withPermissionsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + permissions+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + permissions+: + { + '#': { help: '', name: 'permissions' }, + '#withBuiltInRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`.' } }, + withBuiltInRole(value): { + builtInRole: value, + }, + '#withPermission': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Permission to associate with item. Options: Query, Edit or Admin (Admin can only be used with Grafana v10.3.0+).\nPermission to associate with item. Options: `Query`, `Edit` or `Admin` (`Admin` can only be used with Grafana v10.3.0+).' } }, + withPermission(value): { + permission: value, + }, + '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the team to manage permissions for. Defaults to 0.\nID of the team to manage permissions for. Defaults to `0`.' } }, + withTeamId(value): { + teamId: value, + }, + '#withTeamRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, + withTeamRef(value): { + teamRef: value, + }, + '#withTeamRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, + withTeamRefMixin(value): { + teamRef+: value, + }, + teamRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + teamRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + teamRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + teamRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + teamRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + teamRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, + withTeamSelector(value): { + teamSelector: value, + }, + '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, + withTeamSelectorMixin(value): { + teamSelector+: value, + }, + teamSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + teamSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + teamSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + teamSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + teamSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + teamSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + teamSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + teamSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withUserId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the user or service account to manage permissions for. Defaults to 0.\nID of the user or service account to manage permissions for. Defaults to `0`.' } }, + withUserId(value): { + userId: value, + }, + '#withUserRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, + withUserRef(value): { + userRef: value, + }, + '#withUserRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, + withUserRefMixin(value): { + userRef+: value, + }, + userRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + userRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + userRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + userRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + userRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + userRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withUserSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, + withUserSelector(value): { + userSelector: value, + }, + '#withUserSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, + withUserSelectorMixin(value): { + userSelector+: value, + }, + userSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + userSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + userSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + userSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + userSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + userSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + userSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + userSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/main.libsonnet b/grafanaplane/enterprise/v1alpha1/main.libsonnet new file mode 100644 index 0000000..cb35de5 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/main.libsonnet @@ -0,0 +1,7 @@ +{ + dataSourcePermission+: import './dataSourcePermission/main.libsonnet', + report+: import './report/main.libsonnet', + roleAssignment+: import './roleAssignment/main.libsonnet', + role+: import './role/main.libsonnet', + teamExternalGroup+: import './teamExternalGroup/main.libsonnet', +} diff --git a/grafanaplane/enterprise/v1alpha1/report/main.libsonnet b/grafanaplane/enterprise/v1alpha1/report/main.libsonnet new file mode 100644 index 0000000..e346778 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/report/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'report' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'enterprise.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'Report', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/enterprise/v1alpha1/report/metadata/main.libsonnet b/grafanaplane/enterprise/v1alpha1/report/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/report/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/report/spec/compositionRef.libsonnet b/grafanaplane/enterprise/v1alpha1/report/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/report/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/report/spec/compositionRevisionRef.libsonnet b/grafanaplane/enterprise/v1alpha1/report/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/report/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/report/spec/compositionSelector.libsonnet b/grafanaplane/enterprise/v1alpha1/report/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/report/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/report/spec/main.libsonnet b/grafanaplane/enterprise/v1alpha1/report/spec/main.libsonnet new file mode 100644 index 0000000..dcba6fc --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/report/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ReportSpec defines the desired state of Report' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ReportSpec defines the desired state of Report' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/enterprise/v1alpha1/report/spec/parameters.libsonnet b/grafanaplane/enterprise/v1alpha1/report/spec/parameters.libsonnet new file mode 100644 index 0000000..1cd49f8 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/report/spec/parameters.libsonnet @@ -0,0 +1,1311 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withDashboards': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) List of dashboards to render into the report (see below for nested schema)\nList of dashboards to render into the report' } }, + withDashboards(value): { + spec+: { + parameters+: { + forProvider+: { + dashboards: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withDashboardsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) List of dashboards to render into the report (see below for nested schema)\nList of dashboards to render into the report' } }, + withDashboardsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dashboards+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + dashboards+: + { + '#': { help: '', name: 'dashboards' }, + '#withReportVariables': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Add report variables to the dashboard. Values should be separated by commas.\nAdd report variables to the dashboard. Values should be separated by commas.' } }, + withReportVariables(value): { + reportVariables: value, + }, + '#withReportVariablesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Add report variables to the dashboard. Values should be separated by commas.\nAdd report variables to the dashboard. Values should be separated by commas.' } }, + withReportVariablesMixin(value): { + reportVariables+: value, + }, + '#withTimeRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Time range of the report. (see below for nested schema)\nTime range of the report.' } }, + withTimeRange(value): { + timeRange: + (if std.isArray(value) + then value + else [value]), + }, + '#withTimeRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Time range of the report. (see below for nested schema)\nTime range of the report.' } }, + withTimeRangeMixin(value): { + timeRange+: + (if std.isArray(value) + then value + else [value]), + }, + timeRange+: + { + '#': { help: '', name: 'timeRange' }, + '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Start of the time range.\nStart of the time range.' } }, + withFrom(value): { + from: value, + }, + '#withTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) End of the time range.\nEnd of the time range.' } }, + withTo(value): { + to: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Dashboard uid.\nDashboard uid.' } }, + withUid(value): { + uid: value, + }, + }, + '#withFormats': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Specifies what kind of attachment to generate for the report. Allowed values: pdf, csv, image.\nSpecifies what kind of attachment to generate for the report. Allowed values: `pdf`, `csv`, `image`.' } }, + withFormats(value): { + spec+: { + parameters+: { + forProvider+: { + formats: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withFormatsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Specifies what kind of attachment to generate for the report. Allowed values: pdf, csv, image.\nSpecifies what kind of attachment to generate for the report. Allowed values: `pdf`, `csv`, `image`.' } }, + withFormatsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + formats+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withIncludeDashboardLink': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to include a link to the dashboard in the report. Defaults to true.\nWhether to include a link to the dashboard in the report. Defaults to `true`.' } }, + withIncludeDashboardLink(value=true): { + spec+: { + parameters+: { + forProvider+: { + includeDashboardLink: value, + }, + }, + }, + }, + '#withIncludeTableCsv': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to include a CSV file of table panel data. Defaults to false.\nWhether to include a CSV file of table panel data. Defaults to `false`.' } }, + withIncludeTableCsv(value=true): { + spec+: { + parameters+: { + forProvider+: { + includeTableCsv: value, + }, + }, + }, + }, + '#withLayout': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Layout of the report. Allowed values: simple, grid. Defaults to grid.\nLayout of the report. Allowed values: `simple`, `grid`. Defaults to `grid`.' } }, + withLayout(value): { + spec+: { + parameters+: { + forProvider+: { + layout: value, + }, + }, + }, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Message to be sent in the report.\nMessage to be sent in the report.' } }, + withMessage(value): { + spec+: { + parameters+: { + forProvider+: { + message: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the report.\nName of the report.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrientation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Orientation of the report. Allowed values: landscape, portrait. Defaults to landscape.\nOrientation of the report. Allowed values: `landscape`, `portrait`. Defaults to `landscape`.' } }, + withOrientation(value): { + spec+: { + parameters+: { + forProvider+: { + orientation: value, + }, + }, + }, + }, + '#withRecipients': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) List of recipients of the report.\nList of recipients of the report.' } }, + withRecipients(value): { + spec+: { + parameters+: { + forProvider+: { + recipients: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withRecipientsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) List of recipients of the report.\nList of recipients of the report.' } }, + withRecipientsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + recipients+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withReplyTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'to email address of the report.\nReply-to email address of the report.' } }, + withReplyTo(value): { + spec+: { + parameters+: { + forProvider+: { + replyTo: value, + }, + }, + }, + }, + '#withSchedule': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) Schedule of the report. (see below for nested schema)\nSchedule of the report.' } }, + withSchedule(value): { + spec+: { + parameters+: { + forProvider+: { + schedule: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withScheduleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) Schedule of the report. (see below for nested schema)\nSchedule of the report.' } }, + withScheduleMixin(value): { + spec+: { + parameters+: { + forProvider+: { + schedule+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + schedule+: + { + '#': { help: '', name: 'schedule' }, + '#withCustomInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Custom interval of the report.\nNote: This field is only available when frequency is set to custom.\nCustom interval of the report.\n**Note:** This field is only available when frequency is set to `custom`.' } }, + withCustomInterval(value): { + customInterval: value, + }, + '#withEndTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '01-02T15:04:05 format if you want to set a custom timezone\nEnd time of the report. If empty, the report will be sent indefinitely (according to frequency). Note that times will be saved as UTC in Grafana. Use 2006-01-02T15:04:05 format if you want to set a custom timezone' } }, + withEndTime(value): { + endTime: value, + }, + '#withFrequency': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Frequency of the report. Allowed values: never, once, hourly, daily, weekly, monthly, custom.\nFrequency of the report. Allowed values: `never`, `once`, `hourly`, `daily`, `weekly`, `monthly`, `custom`.' } }, + withFrequency(value): { + frequency: value, + }, + '#withLastDayOfMonth': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Send the report on the last day of the month Defaults to false.\nSend the report on the last day of the month Defaults to `false`.' } }, + withLastDayOfMonth(value=true): { + lastDayOfMonth: value, + }, + '#withStartTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '01-02T15:04:05 format if you want to set a custom timezone\nStart time of the report. If empty, the start date will be set to the creation time. Note that times will be saved as UTC in Grafana. Use 2006-01-02T15:04:05 format if you want to set a custom timezone' } }, + withStartTime(value): { + startTime: value, + }, + '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Set the report time zone. Defaults to GMT.\nSet the report time zone. Defaults to `GMT`.' } }, + withTimezone(value): { + timezone: value, + }, + '#withWorkdaysOnly': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to send the report only on work days. Defaults to false.\nWhether to send the report only on work days. Defaults to `false`.' } }, + withWorkdaysOnly(value=true): { + workdaysOnly: value, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withDashboards': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) List of dashboards to render into the report (see below for nested schema)\nList of dashboards to render into the report' } }, + withDashboards(value): { + spec+: { + parameters+: { + initProvider+: { + dashboards: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withDashboardsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) List of dashboards to render into the report (see below for nested schema)\nList of dashboards to render into the report' } }, + withDashboardsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dashboards+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + dashboards+: + { + '#': { help: '', name: 'dashboards' }, + '#withReportVariables': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Add report variables to the dashboard. Values should be separated by commas.\nAdd report variables to the dashboard. Values should be separated by commas.' } }, + withReportVariables(value): { + reportVariables: value, + }, + '#withReportVariablesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Add report variables to the dashboard. Values should be separated by commas.\nAdd report variables to the dashboard. Values should be separated by commas.' } }, + withReportVariablesMixin(value): { + reportVariables+: value, + }, + '#withTimeRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Time range of the report. (see below for nested schema)\nTime range of the report.' } }, + withTimeRange(value): { + timeRange: + (if std.isArray(value) + then value + else [value]), + }, + '#withTimeRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Time range of the report. (see below for nested schema)\nTime range of the report.' } }, + withTimeRangeMixin(value): { + timeRange+: + (if std.isArray(value) + then value + else [value]), + }, + timeRange+: + { + '#': { help: '', name: 'timeRange' }, + '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Start of the time range.\nStart of the time range.' } }, + withFrom(value): { + from: value, + }, + '#withTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) End of the time range.\nEnd of the time range.' } }, + withTo(value): { + to: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Dashboard uid.\nDashboard uid.' } }, + withUid(value): { + uid: value, + }, + }, + '#withFormats': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Specifies what kind of attachment to generate for the report. Allowed values: pdf, csv, image.\nSpecifies what kind of attachment to generate for the report. Allowed values: `pdf`, `csv`, `image`.' } }, + withFormats(value): { + spec+: { + parameters+: { + initProvider+: { + formats: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withFormatsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Specifies what kind of attachment to generate for the report. Allowed values: pdf, csv, image.\nSpecifies what kind of attachment to generate for the report. Allowed values: `pdf`, `csv`, `image`.' } }, + withFormatsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + formats+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withIncludeDashboardLink': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to include a link to the dashboard in the report. Defaults to true.\nWhether to include a link to the dashboard in the report. Defaults to `true`.' } }, + withIncludeDashboardLink(value=true): { + spec+: { + parameters+: { + initProvider+: { + includeDashboardLink: value, + }, + }, + }, + }, + '#withIncludeTableCsv': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to include a CSV file of table panel data. Defaults to false.\nWhether to include a CSV file of table panel data. Defaults to `false`.' } }, + withIncludeTableCsv(value=true): { + spec+: { + parameters+: { + initProvider+: { + includeTableCsv: value, + }, + }, + }, + }, + '#withLayout': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Layout of the report. Allowed values: simple, grid. Defaults to grid.\nLayout of the report. Allowed values: `simple`, `grid`. Defaults to `grid`.' } }, + withLayout(value): { + spec+: { + parameters+: { + initProvider+: { + layout: value, + }, + }, + }, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Message to be sent in the report.\nMessage to be sent in the report.' } }, + withMessage(value): { + spec+: { + parameters+: { + initProvider+: { + message: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the report.\nName of the report.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrientation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Orientation of the report. Allowed values: landscape, portrait. Defaults to landscape.\nOrientation of the report. Allowed values: `landscape`, `portrait`. Defaults to `landscape`.' } }, + withOrientation(value): { + spec+: { + parameters+: { + initProvider+: { + orientation: value, + }, + }, + }, + }, + '#withRecipients': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) List of recipients of the report.\nList of recipients of the report.' } }, + withRecipients(value): { + spec+: { + parameters+: { + initProvider+: { + recipients: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withRecipientsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) List of recipients of the report.\nList of recipients of the report.' } }, + withRecipientsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + recipients+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withReplyTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'to email address of the report.\nReply-to email address of the report.' } }, + withReplyTo(value): { + spec+: { + parameters+: { + initProvider+: { + replyTo: value, + }, + }, + }, + }, + '#withSchedule': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) Schedule of the report. (see below for nested schema)\nSchedule of the report.' } }, + withSchedule(value): { + spec+: { + parameters+: { + initProvider+: { + schedule: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withScheduleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) Schedule of the report. (see below for nested schema)\nSchedule of the report.' } }, + withScheduleMixin(value): { + spec+: { + parameters+: { + initProvider+: { + schedule+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + schedule+: + { + '#': { help: '', name: 'schedule' }, + '#withCustomInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Custom interval of the report.\nNote: This field is only available when frequency is set to custom.\nCustom interval of the report.\n**Note:** This field is only available when frequency is set to `custom`.' } }, + withCustomInterval(value): { + customInterval: value, + }, + '#withEndTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '01-02T15:04:05 format if you want to set a custom timezone\nEnd time of the report. If empty, the report will be sent indefinitely (according to frequency). Note that times will be saved as UTC in Grafana. Use 2006-01-02T15:04:05 format if you want to set a custom timezone' } }, + withEndTime(value): { + endTime: value, + }, + '#withFrequency': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Frequency of the report. Allowed values: never, once, hourly, daily, weekly, monthly, custom.\nFrequency of the report. Allowed values: `never`, `once`, `hourly`, `daily`, `weekly`, `monthly`, `custom`.' } }, + withFrequency(value): { + frequency: value, + }, + '#withLastDayOfMonth': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Send the report on the last day of the month Defaults to false.\nSend the report on the last day of the month Defaults to `false`.' } }, + withLastDayOfMonth(value=true): { + lastDayOfMonth: value, + }, + '#withStartTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '01-02T15:04:05 format if you want to set a custom timezone\nStart time of the report. If empty, the start date will be set to the creation time. Note that times will be saved as UTC in Grafana. Use 2006-01-02T15:04:05 format if you want to set a custom timezone' } }, + withStartTime(value): { + startTime: value, + }, + '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Set the report time zone. Defaults to GMT.\nSet the report time zone. Defaults to `GMT`.' } }, + withTimezone(value): { + timezone: value, + }, + '#withWorkdaysOnly': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to send the report only on work days. Defaults to false.\nWhether to send the report only on work days. Defaults to `false`.' } }, + withWorkdaysOnly(value=true): { + workdaysOnly: value, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/report/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/enterprise/v1alpha1/report/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/report/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/role/main.libsonnet b/grafanaplane/enterprise/v1alpha1/role/main.libsonnet new file mode 100644 index 0000000..d55d0f9 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/role/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'role' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'enterprise.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'Role', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/enterprise/v1alpha1/role/metadata/main.libsonnet b/grafanaplane/enterprise/v1alpha1/role/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/role/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/role/spec/compositionRef.libsonnet b/grafanaplane/enterprise/v1alpha1/role/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/role/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/role/spec/compositionRevisionRef.libsonnet b/grafanaplane/enterprise/v1alpha1/role/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/role/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/role/spec/compositionSelector.libsonnet b/grafanaplane/enterprise/v1alpha1/role/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/role/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/role/spec/main.libsonnet b/grafanaplane/enterprise/v1alpha1/role/spec/main.libsonnet new file mode 100644 index 0000000..dd23049 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/role/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RoleSpec defines the desired state of Role' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RoleSpec defines the desired state of Role' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/enterprise/v1alpha1/role/spec/parameters.libsonnet b/grafanaplane/enterprise/v1alpha1/role/spec/parameters.libsonnet new file mode 100644 index 0000000..1d4f389 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/role/spec/parameters.libsonnet @@ -0,0 +1,1071 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withAutoIncrementVersion': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether the role version should be incremented automatically on updates (and set to 1 on creation). This field or version should be set.\nWhether the role version should be incremented automatically on updates (and set to 1 on creation). This field or `version` should be set.' } }, + withAutoIncrementVersion(value=true): { + spec+: { + parameters+: { + forProvider+: { + autoIncrementVersion: value, + }, + }, + }, + }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Description of the role.\nDescription of the role.' } }, + withDescription(value): { + spec+: { + parameters+: { + forProvider+: { + description: value, + }, + }, + }, + }, + '#withDisplayName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Display name of the role. Available with Grafana 8.5+.\nDisplay name of the role. Available with Grafana 8.5+.' } }, + withDisplayName(value): { + spec+: { + parameters+: { + forProvider+: { + displayName: value, + }, + }, + }, + }, + '#withGlobal': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Boolean to state whether the role is available across all organizations or not. Defaults to false.\nBoolean to state whether the role is available across all organizations or not. Defaults to `false`.' } }, + withGlobal(value=true): { + spec+: { + parameters+: { + forProvider+: { + global: value, + }, + }, + }, + }, + '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Group of the role. Available with Grafana 8.5+.\nGroup of the role. Available with Grafana 8.5+.' } }, + withGroup(value): { + spec+: { + parameters+: { + forProvider+: { + group: value, + }, + }, + }, + }, + '#withHidden': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Boolean to state whether the role should be visible in the Grafana UI or not. Available with Grafana 8.5+. Defaults to false.\nBoolean to state whether the role should be visible in the Grafana UI or not. Available with Grafana 8.5+. Defaults to `false`.' } }, + withHidden(value=true): { + spec+: { + parameters+: { + forProvider+: { + hidden: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the role\nName of the role' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withPermissions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Specific set of actions granted by the role. (see below for nested schema)\nSpecific set of actions granted by the role.' } }, + withPermissions(value): { + spec+: { + parameters+: { + forProvider+: { + permissions: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPermissionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Specific set of actions granted by the role. (see below for nested schema)\nSpecific set of actions granted by the role.' } }, + withPermissionsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + permissions+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + permissions+: + { + '#': { help: '', name: 'permissions' }, + '#withAction': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Specific action users granted with the role will be allowed to perform (for example: users:read)\nSpecific action users granted with the role will be allowed to perform (for example: `users:read`)' } }, + withAction(value): { + action: value, + }, + '#withScope': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Scope to restrict the action to a set of resources (for example: users:* or roles:customrole1) Defaults to “.\nScope to restrict the action to a set of resources (for example: `users:*` or `roles:customrole1`) Defaults to “.' } }, + withScope(value): { + scope: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Unique identifier of the role. Used for assignments.\nUnique identifier of the role. Used for assignments.' } }, + withUid(value): { + spec+: { + parameters+: { + forProvider+: { + uid: value, + }, + }, + }, + }, + '#withVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Version of the role. A role is updated only on version increase. This field or auto_increment_version should be set.\nVersion of the role. A role is updated only on version increase. This field or `auto_increment_version` should be set.' } }, + withVersion(value): { + spec+: { + parameters+: { + forProvider+: { + version: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withAutoIncrementVersion': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether the role version should be incremented automatically on updates (and set to 1 on creation). This field or version should be set.\nWhether the role version should be incremented automatically on updates (and set to 1 on creation). This field or `version` should be set.' } }, + withAutoIncrementVersion(value=true): { + spec+: { + parameters+: { + initProvider+: { + autoIncrementVersion: value, + }, + }, + }, + }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Description of the role.\nDescription of the role.' } }, + withDescription(value): { + spec+: { + parameters+: { + initProvider+: { + description: value, + }, + }, + }, + }, + '#withDisplayName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Display name of the role. Available with Grafana 8.5+.\nDisplay name of the role. Available with Grafana 8.5+.' } }, + withDisplayName(value): { + spec+: { + parameters+: { + initProvider+: { + displayName: value, + }, + }, + }, + }, + '#withGlobal': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Boolean to state whether the role is available across all organizations or not. Defaults to false.\nBoolean to state whether the role is available across all organizations or not. Defaults to `false`.' } }, + withGlobal(value=true): { + spec+: { + parameters+: { + initProvider+: { + global: value, + }, + }, + }, + }, + '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Group of the role. Available with Grafana 8.5+.\nGroup of the role. Available with Grafana 8.5+.' } }, + withGroup(value): { + spec+: { + parameters+: { + initProvider+: { + group: value, + }, + }, + }, + }, + '#withHidden': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Boolean to state whether the role should be visible in the Grafana UI or not. Available with Grafana 8.5+. Defaults to false.\nBoolean to state whether the role should be visible in the Grafana UI or not. Available with Grafana 8.5+. Defaults to `false`.' } }, + withHidden(value=true): { + spec+: { + parameters+: { + initProvider+: { + hidden: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the role\nName of the role' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withPermissions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Specific set of actions granted by the role. (see below for nested schema)\nSpecific set of actions granted by the role.' } }, + withPermissions(value): { + spec+: { + parameters+: { + initProvider+: { + permissions: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPermissionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Specific set of actions granted by the role. (see below for nested schema)\nSpecific set of actions granted by the role.' } }, + withPermissionsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + permissions+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + permissions+: + { + '#': { help: '', name: 'permissions' }, + '#withAction': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Specific action users granted with the role will be allowed to perform (for example: users:read)\nSpecific action users granted with the role will be allowed to perform (for example: `users:read`)' } }, + withAction(value): { + action: value, + }, + '#withScope': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Scope to restrict the action to a set of resources (for example: users:* or roles:customrole1) Defaults to “.\nScope to restrict the action to a set of resources (for example: `users:*` or `roles:customrole1`) Defaults to “.' } }, + withScope(value): { + scope: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Unique identifier of the role. Used for assignments.\nUnique identifier of the role. Used for assignments.' } }, + withUid(value): { + spec+: { + parameters+: { + initProvider+: { + uid: value, + }, + }, + }, + }, + '#withVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Version of the role. A role is updated only on version increase. This field or auto_increment_version should be set.\nVersion of the role. A role is updated only on version increase. This field or `auto_increment_version` should be set.' } }, + withVersion(value): { + spec+: { + parameters+: { + initProvider+: { + version: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/role/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/enterprise/v1alpha1/role/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/role/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/roleAssignment/main.libsonnet b/grafanaplane/enterprise/v1alpha1/roleAssignment/main.libsonnet new file mode 100644 index 0000000..936f582 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/roleAssignment/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'roleAssignment' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'enterprise.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'RoleAssignment', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/enterprise/v1alpha1/roleAssignment/metadata/main.libsonnet b/grafanaplane/enterprise/v1alpha1/roleAssignment/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/roleAssignment/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/roleAssignment/spec/compositionRef.libsonnet b/grafanaplane/enterprise/v1alpha1/roleAssignment/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/roleAssignment/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/roleAssignment/spec/compositionRevisionRef.libsonnet b/grafanaplane/enterprise/v1alpha1/roleAssignment/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/roleAssignment/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/roleAssignment/spec/compositionSelector.libsonnet b/grafanaplane/enterprise/v1alpha1/roleAssignment/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/roleAssignment/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/roleAssignment/spec/main.libsonnet b/grafanaplane/enterprise/v1alpha1/roleAssignment/spec/main.libsonnet new file mode 100644 index 0000000..cfa8139 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/roleAssignment/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RoleAssignmentSpec defines the desired state of RoleAssignment' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RoleAssignmentSpec defines the desired state of RoleAssignment' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/enterprise/v1alpha1/roleAssignment/spec/parameters.libsonnet b/grafanaplane/enterprise/v1alpha1/roleAssignment/spec/parameters.libsonnet new file mode 100644 index 0000000..c3531fc --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/roleAssignment/spec/parameters.libsonnet @@ -0,0 +1,2425 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withRoleRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Role in enterprise to populate roleUid.' } }, + withRoleRef(value): { + spec+: { + parameters+: { + forProvider+: { + roleRef: value, + }, + }, + }, + }, + '#withRoleRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Role in enterprise to populate roleUid.' } }, + withRoleRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + roleRef+: value, + }, + }, + }, + }, + roleRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + roleRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + roleRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + roleRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + roleRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + roleRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withRoleSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Role in enterprise to populate roleUid.' } }, + withRoleSelector(value): { + spec+: { + parameters+: { + forProvider+: { + roleSelector: value, + }, + }, + }, + }, + '#withRoleSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Role in enterprise to populate roleUid.' } }, + withRoleSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + roleSelector+: value, + }, + }, + }, + }, + roleSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + roleSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + roleSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + roleSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + roleSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + roleSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + roleSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + roleSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withRoleUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Grafana RBAC role UID.\nGrafana RBAC role UID.' } }, + withRoleUid(value): { + spec+: { + parameters+: { + forProvider+: { + roleUid: value, + }, + }, + }, + }, + '#withServiceAccountRefs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to ServiceAccount in oss to populate serviceAccounts.' } }, + withServiceAccountRefs(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRefs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withServiceAccountRefsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to ServiceAccount in oss to populate serviceAccounts.' } }, + withServiceAccountRefsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRefs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + serviceAccountRefs+: + { + '#': { help: '', name: 'serviceAccountRefs' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + name: value, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + policy: value, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + policy+: value, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + policy+: { + resolution: value, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + policy+: { + resolve: value, + }, + }, + }, + }, + '#withServiceAccountSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of ServiceAccount in oss to populate serviceAccounts.' } }, + withServiceAccountSelector(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector: value, + }, + }, + }, + }, + '#withServiceAccountSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of ServiceAccount in oss to populate serviceAccounts.' } }, + withServiceAccountSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: value, + }, + }, + }, + }, + serviceAccountSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withServiceAccounts': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) IDs of service accounts that the role should be assigned to.\nIDs of service accounts that the role should be assigned to.' } }, + withServiceAccounts(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccounts: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withServiceAccountsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) IDs of service accounts that the role should be assigned to.\nIDs of service accounts that the role should be assigned to.' } }, + withServiceAccountsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccounts+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withTeamRefs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to Team in oss to populate teams.' } }, + withTeamRefs(value): { + spec+: { + parameters+: { + forProvider+: { + teamRefs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withTeamRefsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to Team in oss to populate teams.' } }, + withTeamRefsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + teamRefs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + teamRefs+: + { + '#': { help: '', name: 'teamRefs' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + name: value, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + policy: value, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + policy+: value, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + policy+: { + resolution: value, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + policy+: { + resolve: value, + }, + }, + }, + }, + '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of Team in oss to populate teams.' } }, + withTeamSelector(value): { + spec+: { + parameters+: { + forProvider+: { + teamSelector: value, + }, + }, + }, + }, + '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of Team in oss to populate teams.' } }, + withTeamSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + teamSelector+: value, + }, + }, + }, + }, + teamSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + teamSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + teamSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + teamSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + teamSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + teamSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + teamSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + teamSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withTeams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) IDs of teams that the role should be assigned to.\nIDs of teams that the role should be assigned to.' } }, + withTeams(value): { + spec+: { + parameters+: { + forProvider+: { + teams: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withTeamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) IDs of teams that the role should be assigned to.\nIDs of teams that the role should be assigned to.' } }, + withTeamsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + teams+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withUserRefs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to User in oss to populate users.' } }, + withUserRefs(value): { + spec+: { + parameters+: { + forProvider+: { + userRefs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withUserRefsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to User in oss to populate users.' } }, + withUserRefsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + userRefs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + userRefs+: + { + '#': { help: '', name: 'userRefs' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + name: value, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + policy: value, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + policy+: value, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + policy+: { + resolution: value, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + policy+: { + resolve: value, + }, + }, + }, + }, + '#withUserSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of User in oss to populate users.' } }, + withUserSelector(value): { + spec+: { + parameters+: { + forProvider+: { + userSelector: value, + }, + }, + }, + }, + '#withUserSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of User in oss to populate users.' } }, + withUserSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + userSelector+: value, + }, + }, + }, + }, + userSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + userSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + userSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + userSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + userSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + userSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + userSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + userSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withUsers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) IDs of users that the role should be assigned to.\nIDs of users that the role should be assigned to.' } }, + withUsers(value): { + spec+: { + parameters+: { + forProvider+: { + users: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withUsersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) IDs of users that the role should be assigned to.\nIDs of users that the role should be assigned to.' } }, + withUsersMixin(value): { + spec+: { + parameters+: { + forProvider+: { + users+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withRoleRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Role in enterprise to populate roleUid.' } }, + withRoleRef(value): { + spec+: { + parameters+: { + initProvider+: { + roleRef: value, + }, + }, + }, + }, + '#withRoleRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Role in enterprise to populate roleUid.' } }, + withRoleRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + roleRef+: value, + }, + }, + }, + }, + roleRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + roleRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + roleRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + roleRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + roleRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + roleRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withRoleSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Role in enterprise to populate roleUid.' } }, + withRoleSelector(value): { + spec+: { + parameters+: { + initProvider+: { + roleSelector: value, + }, + }, + }, + }, + '#withRoleSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Role in enterprise to populate roleUid.' } }, + withRoleSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + roleSelector+: value, + }, + }, + }, + }, + roleSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + roleSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + roleSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + roleSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + roleSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + roleSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + roleSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + roleSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withRoleUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Grafana RBAC role UID.\nGrafana RBAC role UID.' } }, + withRoleUid(value): { + spec+: { + parameters+: { + initProvider+: { + roleUid: value, + }, + }, + }, + }, + '#withServiceAccountRefs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to ServiceAccount in oss to populate serviceAccounts.' } }, + withServiceAccountRefs(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRefs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withServiceAccountRefsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to ServiceAccount in oss to populate serviceAccounts.' } }, + withServiceAccountRefsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRefs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + serviceAccountRefs+: + { + '#': { help: '', name: 'serviceAccountRefs' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + name: value, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + policy: value, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + policy+: value, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + policy+: { + resolution: value, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + policy+: { + resolve: value, + }, + }, + }, + }, + '#withServiceAccountSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of ServiceAccount in oss to populate serviceAccounts.' } }, + withServiceAccountSelector(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector: value, + }, + }, + }, + }, + '#withServiceAccountSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of ServiceAccount in oss to populate serviceAccounts.' } }, + withServiceAccountSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: value, + }, + }, + }, + }, + serviceAccountSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withServiceAccounts': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) IDs of service accounts that the role should be assigned to.\nIDs of service accounts that the role should be assigned to.' } }, + withServiceAccounts(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccounts: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withServiceAccountsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) IDs of service accounts that the role should be assigned to.\nIDs of service accounts that the role should be assigned to.' } }, + withServiceAccountsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccounts+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withTeamRefs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to Team in oss to populate teams.' } }, + withTeamRefs(value): { + spec+: { + parameters+: { + initProvider+: { + teamRefs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withTeamRefsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to Team in oss to populate teams.' } }, + withTeamRefsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + teamRefs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + teamRefs+: + { + '#': { help: '', name: 'teamRefs' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + name: value, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + policy: value, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + policy+: value, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + policy+: { + resolution: value, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + policy+: { + resolve: value, + }, + }, + }, + }, + '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of Team in oss to populate teams.' } }, + withTeamSelector(value): { + spec+: { + parameters+: { + initProvider+: { + teamSelector: value, + }, + }, + }, + }, + '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of Team in oss to populate teams.' } }, + withTeamSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + teamSelector+: value, + }, + }, + }, + }, + teamSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + teamSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + teamSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + teamSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + teamSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + teamSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + teamSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + teamSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withTeams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) IDs of teams that the role should be assigned to.\nIDs of teams that the role should be assigned to.' } }, + withTeams(value): { + spec+: { + parameters+: { + initProvider+: { + teams: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withTeamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) IDs of teams that the role should be assigned to.\nIDs of teams that the role should be assigned to.' } }, + withTeamsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + teams+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withUserRefs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to User in oss to populate users.' } }, + withUserRefs(value): { + spec+: { + parameters+: { + initProvider+: { + userRefs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withUserRefsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to User in oss to populate users.' } }, + withUserRefsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + userRefs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + userRefs+: + { + '#': { help: '', name: 'userRefs' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + name: value, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + policy: value, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + policy+: value, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + policy+: { + resolution: value, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + policy+: { + resolve: value, + }, + }, + }, + }, + '#withUserSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of User in oss to populate users.' } }, + withUserSelector(value): { + spec+: { + parameters+: { + initProvider+: { + userSelector: value, + }, + }, + }, + }, + '#withUserSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of User in oss to populate users.' } }, + withUserSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + userSelector+: value, + }, + }, + }, + }, + userSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + userSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + userSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + userSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + userSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + userSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + userSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + userSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withUsers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) IDs of users that the role should be assigned to.\nIDs of users that the role should be assigned to.' } }, + withUsers(value): { + spec+: { + parameters+: { + initProvider+: { + users: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withUsersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) IDs of users that the role should be assigned to.\nIDs of users that the role should be assigned to.' } }, + withUsersMixin(value): { + spec+: { + parameters+: { + initProvider+: { + users+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/roleAssignment/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/enterprise/v1alpha1/roleAssignment/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/roleAssignment/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/teamExternalGroup/main.libsonnet b/grafanaplane/enterprise/v1alpha1/teamExternalGroup/main.libsonnet new file mode 100644 index 0000000..e5ee62a --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/teamExternalGroup/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'teamExternalGroup' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'enterprise.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'TeamExternalGroup', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/enterprise/v1alpha1/teamExternalGroup/metadata/main.libsonnet b/grafanaplane/enterprise/v1alpha1/teamExternalGroup/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/teamExternalGroup/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/teamExternalGroup/spec/compositionRef.libsonnet b/grafanaplane/enterprise/v1alpha1/teamExternalGroup/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/teamExternalGroup/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/teamExternalGroup/spec/compositionRevisionRef.libsonnet b/grafanaplane/enterprise/v1alpha1/teamExternalGroup/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/teamExternalGroup/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/teamExternalGroup/spec/compositionSelector.libsonnet b/grafanaplane/enterprise/v1alpha1/teamExternalGroup/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/teamExternalGroup/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/teamExternalGroup/spec/main.libsonnet b/grafanaplane/enterprise/v1alpha1/teamExternalGroup/spec/main.libsonnet new file mode 100644 index 0000000..9401331 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/teamExternalGroup/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TeamExternalGroupSpec defines the desired state of TeamExternalGroup' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TeamExternalGroupSpec defines the desired state of TeamExternalGroup' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/enterprise/v1alpha1/teamExternalGroup/spec/parameters.libsonnet b/grafanaplane/enterprise/v1alpha1/teamExternalGroup/spec/parameters.libsonnet new file mode 100644 index 0000000..1d09a47 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/teamExternalGroup/spec/parameters.libsonnet @@ -0,0 +1,867 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The team external groups list\nThe team external groups list' } }, + withGroups(value): { + spec+: { + parameters+: { + forProvider+: { + groups: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withGroupsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The team external groups list\nThe team external groups list' } }, + withGroupsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + groups+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Team ID\nThe Team ID' } }, + withTeamId(value): { + spec+: { + parameters+: { + forProvider+: { + teamId: value, + }, + }, + }, + }, + '#withTeamRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, + withTeamRef(value): { + spec+: { + parameters+: { + forProvider+: { + teamRef: value, + }, + }, + }, + }, + '#withTeamRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, + withTeamRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + teamRef+: value, + }, + }, + }, + }, + teamRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + teamRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + teamRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + teamRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + teamRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + teamRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, + withTeamSelector(value): { + spec+: { + parameters+: { + forProvider+: { + teamSelector: value, + }, + }, + }, + }, + '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, + withTeamSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + teamSelector+: value, + }, + }, + }, + }, + teamSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + teamSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + teamSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + teamSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + teamSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + teamSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + teamSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + teamSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The team external groups list\nThe team external groups list' } }, + withGroups(value): { + spec+: { + parameters+: { + initProvider+: { + groups: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withGroupsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The team external groups list\nThe team external groups list' } }, + withGroupsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + groups+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Team ID\nThe Team ID' } }, + withTeamId(value): { + spec+: { + parameters+: { + initProvider+: { + teamId: value, + }, + }, + }, + }, + '#withTeamRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, + withTeamRef(value): { + spec+: { + parameters+: { + initProvider+: { + teamRef: value, + }, + }, + }, + }, + '#withTeamRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, + withTeamRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + teamRef+: value, + }, + }, + }, + }, + teamRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + teamRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + teamRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + teamRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + teamRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + teamRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, + withTeamSelector(value): { + spec+: { + parameters+: { + initProvider+: { + teamSelector: value, + }, + }, + }, + }, + '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, + withTeamSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + teamSelector+: value, + }, + }, + }, + }, + teamSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + teamSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + teamSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + teamSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + teamSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + teamSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + teamSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + teamSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/enterprise/v1alpha1/teamExternalGroup/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/enterprise/v1alpha1/teamExternalGroup/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/enterprise/v1alpha1/teamExternalGroup/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/main.libsonnet b/grafanaplane/main.libsonnet index 13c2c10..134503c 100644 --- a/grafanaplane/main.libsonnet +++ b/grafanaplane/main.libsonnet @@ -1 +1,56 @@ -import './raw.libsonnet' +{ + alerting+: import './alerting/main.libsonnet', + cloud+: import './cloud/main.libsonnet', + enterprise+: import './enterprise/main.libsonnet', + ml+: import './ml/main.libsonnet', + oncall+: import './oncall/main.libsonnet', + oss+: import './oss/main.libsonnet', + slo+: import './slo/main.libsonnet', + sm+: import './sm/main.libsonnet', + '#': + { + filename: 'main.libsonnet', + help: + ||| + Jsonnet library providing a namespaced set of compositions/XRDs for the Grafana Crossplane provider. The compositions, XRDs and the library for creating the XRD objects is generated. + + The compositions/XRDs can be imported like this: + + ```jsonnet + local compositions = import 'github.com/Duologic/grafana-crossplane-libsonnet/grafanaplane/compositions.libsonnet'; + + [ + # Each composition has a `definition` and `composition` key + compositions.oss.v1alpha1.folder.composition, + compositions.oss.v1alpha1.folder.definition, + + # When using Tanka, then providing the higher level objects is also possible + compositions.cloud.v1alpha1.stack, # a composition/XRD pair + compositions.oss, # whole group of composition/XRD pairs + ] + ``` + + The library in `main.libsonnet` can be used to build objects for these XRDs. + + + ## Install + + ``` + jb install github.com/Duologic/grafana-crossplane-libsonnet/grafanaplane@0.0.1-0.18.0 + ``` + + ## Usage + + ```jsonnet + local grafanaplane = import 'github.com/Duologic/grafana-crossplane-libsonnet/grafanaplane/main.libsonnet'; + ``` + + |||, + 'import': 'github.com/Duologic/grafana-crossplane-libsonnet/grafanaplane/main.libsonnet', + installTemplate: '\n## Install\n\n```\njb install %(url)s@%(version)s\n```\n', + name: 'grafanaplane', + url: 'github.com/Duologic/grafana-crossplane-libsonnet/grafanaplane', + usageTemplate: "\n## Usage\n\n```jsonnet\nlocal %(name)s = import '%(import)s';\n```\n", + version: '0.0.1-0.18.0', + }, +} diff --git a/grafanaplane/ml/main.libsonnet b/grafanaplane/ml/main.libsonnet new file mode 100644 index 0000000..d1a65c4 --- /dev/null +++ b/grafanaplane/ml/main.libsonnet @@ -0,0 +1,4 @@ +{ + '#': { help: '', name: 'ml' }, + v1alpha1+: import './v1alpha1/main.libsonnet', +} diff --git a/grafanaplane/ml/v1alpha1/holiday/main.libsonnet b/grafanaplane/ml/v1alpha1/holiday/main.libsonnet new file mode 100644 index 0000000..4109e1f --- /dev/null +++ b/grafanaplane/ml/v1alpha1/holiday/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'holiday' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'ml.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'Holiday', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/ml/v1alpha1/holiday/metadata/main.libsonnet b/grafanaplane/ml/v1alpha1/holiday/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/ml/v1alpha1/holiday/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/ml/v1alpha1/holiday/spec/compositionRef.libsonnet b/grafanaplane/ml/v1alpha1/holiday/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/ml/v1alpha1/holiday/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/ml/v1alpha1/holiday/spec/compositionRevisionRef.libsonnet b/grafanaplane/ml/v1alpha1/holiday/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/ml/v1alpha1/holiday/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/ml/v1alpha1/holiday/spec/compositionSelector.libsonnet b/grafanaplane/ml/v1alpha1/holiday/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/ml/v1alpha1/holiday/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/ml/v1alpha1/holiday/spec/main.libsonnet b/grafanaplane/ml/v1alpha1/holiday/spec/main.libsonnet new file mode 100644 index 0000000..2533c4e --- /dev/null +++ b/grafanaplane/ml/v1alpha1/holiday/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'HolidaySpec defines the desired state of Holiday' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'HolidaySpec defines the desired state of Holiday' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/ml/v1alpha1/holiday/spec/parameters.libsonnet b/grafanaplane/ml/v1alpha1/holiday/spec/parameters.libsonnet new file mode 100644 index 0000000..3eb0724 --- /dev/null +++ b/grafanaplane/ml/v1alpha1/holiday/spec/parameters.libsonnet @@ -0,0 +1,551 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withCustomPeriods': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A list of custom periods for the holiday.' } }, + withCustomPeriods(value): { + spec+: { + parameters+: { + forProvider+: { + customPeriods: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withCustomPeriodsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A list of custom periods for the holiday.' } }, + withCustomPeriodsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + customPeriods+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + customPeriods+: + { + '#': { help: '', name: 'customPeriods' }, + '#withEndTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withEndTime(value): { + endTime: value, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the custom period.' } }, + withName(value): { + name: value, + }, + '#withStartTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withStartTime(value): { + startTime: value, + }, + }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A description of the holiday.' } }, + withDescription(value): { + spec+: { + parameters+: { + forProvider+: { + description: value, + }, + }, + }, + }, + '#withIcalTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The timezone to use for events in the iCal file pointed to by ical_url.' } }, + withIcalTimezone(value): { + spec+: { + parameters+: { + forProvider+: { + icalTimezone: value, + }, + }, + }, + }, + '#withIcalUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A URL to an iCal file containing all occurrences of the holiday.' } }, + withIcalUrl(value): { + spec+: { + parameters+: { + forProvider+: { + icalUrl: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the holiday.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withCustomPeriods': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A list of custom periods for the holiday.' } }, + withCustomPeriods(value): { + spec+: { + parameters+: { + initProvider+: { + customPeriods: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withCustomPeriodsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A list of custom periods for the holiday.' } }, + withCustomPeriodsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + customPeriods+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + customPeriods+: + { + '#': { help: '', name: 'customPeriods' }, + '#withEndTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withEndTime(value): { + endTime: value, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the custom period.' } }, + withName(value): { + name: value, + }, + '#withStartTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withStartTime(value): { + startTime: value, + }, + }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A description of the holiday.' } }, + withDescription(value): { + spec+: { + parameters+: { + initProvider+: { + description: value, + }, + }, + }, + }, + '#withIcalTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The timezone to use for events in the iCal file pointed to by ical_url.' } }, + withIcalTimezone(value): { + spec+: { + parameters+: { + initProvider+: { + icalTimezone: value, + }, + }, + }, + }, + '#withIcalUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A URL to an iCal file containing all occurrences of the holiday.' } }, + withIcalUrl(value): { + spec+: { + parameters+: { + initProvider+: { + icalUrl: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the holiday.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/ml/v1alpha1/holiday/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/ml/v1alpha1/holiday/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/ml/v1alpha1/holiday/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/ml/v1alpha1/job/main.libsonnet b/grafanaplane/ml/v1alpha1/job/main.libsonnet new file mode 100644 index 0000000..ea90471 --- /dev/null +++ b/grafanaplane/ml/v1alpha1/job/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'job' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'ml.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'Job', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/ml/v1alpha1/job/metadata/main.libsonnet b/grafanaplane/ml/v1alpha1/job/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/ml/v1alpha1/job/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/ml/v1alpha1/job/spec/compositionRef.libsonnet b/grafanaplane/ml/v1alpha1/job/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/ml/v1alpha1/job/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/ml/v1alpha1/job/spec/compositionRevisionRef.libsonnet b/grafanaplane/ml/v1alpha1/job/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/ml/v1alpha1/job/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/ml/v1alpha1/job/spec/compositionSelector.libsonnet b/grafanaplane/ml/v1alpha1/job/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/ml/v1alpha1/job/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/ml/v1alpha1/job/spec/main.libsonnet b/grafanaplane/ml/v1alpha1/job/spec/main.libsonnet new file mode 100644 index 0000000..12baadf --- /dev/null +++ b/grafanaplane/ml/v1alpha1/job/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'JobSpec defines the desired state of Job' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'JobSpec defines the desired state of Job' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/ml/v1alpha1/job/spec/parameters.libsonnet b/grafanaplane/ml/v1alpha1/job/spec/parameters.libsonnet new file mode 100644 index 0000000..7943106 --- /dev/null +++ b/grafanaplane/ml/v1alpha1/job/spec/parameters.libsonnet @@ -0,0 +1,1107 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withCustomLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the custom labels added on the forecast.' } }, + withCustomLabels(value): { + spec+: { + parameters+: { + forProvider+: { + customLabels: value, + }, + }, + }, + }, + '#withCustomLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the custom labels added on the forecast.' } }, + withCustomLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + customLabels+: value, + }, + }, + }, + }, + '#withDataSourceRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate datasourceUid.' } }, + withDataSourceRef(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceRef: value, + }, + }, + }, + }, + '#withDataSourceRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate datasourceUid.' } }, + withDataSourceRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceRef+: value, + }, + }, + }, + }, + dataSourceRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + dataSourceRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDataSourceSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate datasourceUid.' } }, + withDataSourceSelector(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceSelector: value, + }, + }, + }, + }, + '#withDataSourceSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate datasourceUid.' } }, + withDataSourceSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceSelector+: value, + }, + }, + }, + }, + dataSourceSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + dataSourceSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + dataSourceSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDatasourceType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The type of datasource being queried. Currently allowed values are prometheus, graphite, loki, postgres, and datadog.' } }, + withDatasourceType(value): { + spec+: { + parameters+: { + forProvider+: { + datasourceType: value, + }, + }, + }, + }, + '#withDatasourceUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The uid of the datasource to query.' } }, + withDatasourceUid(value): { + spec+: { + parameters+: { + forProvider+: { + datasourceUid: value, + }, + }, + }, + }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A description of the job.' } }, + withDescription(value): { + spec+: { + parameters+: { + forProvider+: { + description: value, + }, + }, + }, + }, + '#withHolidays': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A list of holiday IDs or names to take into account when training the model.' } }, + withHolidays(value): { + spec+: { + parameters+: { + forProvider+: { + holidays: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withHolidaysMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A list of holiday IDs or names to take into account when training the model.' } }, + withHolidaysMixin(value): { + spec+: { + parameters+: { + forProvider+: { + holidays+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withHyperParams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The hyperparameters used to fine tune the algorithm. See https://grafana.com/docs/grafana-cloud/machine-learning/models/ for the full list of available hyperparameters. Defaults to `map[]`.' } }, + withHyperParams(value): { + spec+: { + parameters+: { + forProvider+: { + hyperParams: value, + }, + }, + }, + }, + '#withHyperParamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The hyperparameters used to fine tune the algorithm. See https://grafana.com/docs/grafana-cloud/machine-learning/models/ for the full list of available hyperparameters. Defaults to `map[]`.' } }, + withHyperParamsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + hyperParams+: value, + }, + }, + }, + }, + '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'The data interval in seconds to train the data on. Defaults to `300`.' } }, + withInterval(value): { + spec+: { + parameters+: { + forProvider+: { + interval: value, + }, + }, + }, + }, + '#withMetric': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The metric used to query the job results.' } }, + withMetric(value): { + spec+: { + parameters+: { + forProvider+: { + metric: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the job.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withQueryParams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the query params to query Grafana with.' } }, + withQueryParams(value): { + spec+: { + parameters+: { + forProvider+: { + queryParams: value, + }, + }, + }, + }, + '#withQueryParamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the query params to query Grafana with.' } }, + withQueryParamsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + queryParams+: value, + }, + }, + }, + }, + '#withTrainingWindow': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'The data interval in seconds to train the data on. Defaults to `7776000`.' } }, + withTrainingWindow(value): { + spec+: { + parameters+: { + forProvider+: { + trainingWindow: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withCustomLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the custom labels added on the forecast.' } }, + withCustomLabels(value): { + spec+: { + parameters+: { + initProvider+: { + customLabels: value, + }, + }, + }, + }, + '#withCustomLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the custom labels added on the forecast.' } }, + withCustomLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + customLabels+: value, + }, + }, + }, + }, + '#withDataSourceRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate datasourceUid.' } }, + withDataSourceRef(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceRef: value, + }, + }, + }, + }, + '#withDataSourceRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate datasourceUid.' } }, + withDataSourceRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceRef+: value, + }, + }, + }, + }, + dataSourceRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + dataSourceRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDataSourceSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate datasourceUid.' } }, + withDataSourceSelector(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceSelector: value, + }, + }, + }, + }, + '#withDataSourceSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate datasourceUid.' } }, + withDataSourceSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceSelector+: value, + }, + }, + }, + }, + dataSourceSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + dataSourceSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + dataSourceSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDatasourceType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The type of datasource being queried. Currently allowed values are prometheus, graphite, loki, postgres, and datadog.' } }, + withDatasourceType(value): { + spec+: { + parameters+: { + initProvider+: { + datasourceType: value, + }, + }, + }, + }, + '#withDatasourceUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The uid of the datasource to query.' } }, + withDatasourceUid(value): { + spec+: { + parameters+: { + initProvider+: { + datasourceUid: value, + }, + }, + }, + }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A description of the job.' } }, + withDescription(value): { + spec+: { + parameters+: { + initProvider+: { + description: value, + }, + }, + }, + }, + '#withHolidays': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A list of holiday IDs or names to take into account when training the model.' } }, + withHolidays(value): { + spec+: { + parameters+: { + initProvider+: { + holidays: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withHolidaysMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A list of holiday IDs or names to take into account when training the model.' } }, + withHolidaysMixin(value): { + spec+: { + parameters+: { + initProvider+: { + holidays+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withHyperParams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The hyperparameters used to fine tune the algorithm. See https://grafana.com/docs/grafana-cloud/machine-learning/models/ for the full list of available hyperparameters. Defaults to `map[]`.' } }, + withHyperParams(value): { + spec+: { + parameters+: { + initProvider+: { + hyperParams: value, + }, + }, + }, + }, + '#withHyperParamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The hyperparameters used to fine tune the algorithm. See https://grafana.com/docs/grafana-cloud/machine-learning/models/ for the full list of available hyperparameters. Defaults to `map[]`.' } }, + withHyperParamsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + hyperParams+: value, + }, + }, + }, + }, + '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'The data interval in seconds to train the data on. Defaults to `300`.' } }, + withInterval(value): { + spec+: { + parameters+: { + initProvider+: { + interval: value, + }, + }, + }, + }, + '#withMetric': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The metric used to query the job results.' } }, + withMetric(value): { + spec+: { + parameters+: { + initProvider+: { + metric: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the job.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withQueryParams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the query params to query Grafana with.' } }, + withQueryParams(value): { + spec+: { + parameters+: { + initProvider+: { + queryParams: value, + }, + }, + }, + }, + '#withQueryParamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the query params to query Grafana with.' } }, + withQueryParamsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + queryParams+: value, + }, + }, + }, + }, + '#withTrainingWindow': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'The data interval in seconds to train the data on. Defaults to `7776000`.' } }, + withTrainingWindow(value): { + spec+: { + parameters+: { + initProvider+: { + trainingWindow: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/ml/v1alpha1/job/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/ml/v1alpha1/job/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/ml/v1alpha1/job/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/ml/v1alpha1/main.libsonnet b/grafanaplane/ml/v1alpha1/main.libsonnet new file mode 100644 index 0000000..1807c07 --- /dev/null +++ b/grafanaplane/ml/v1alpha1/main.libsonnet @@ -0,0 +1,5 @@ +{ + holiday+: import './holiday/main.libsonnet', + job+: import './job/main.libsonnet', + outlierDetector+: import './outlierDetector/main.libsonnet', +} diff --git a/grafanaplane/ml/v1alpha1/outlierDetector/main.libsonnet b/grafanaplane/ml/v1alpha1/outlierDetector/main.libsonnet new file mode 100644 index 0000000..b80c3e7 --- /dev/null +++ b/grafanaplane/ml/v1alpha1/outlierDetector/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'outlierDetector' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'ml.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'OutlierDetector', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/ml/v1alpha1/outlierDetector/metadata/main.libsonnet b/grafanaplane/ml/v1alpha1/outlierDetector/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/ml/v1alpha1/outlierDetector/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/ml/v1alpha1/outlierDetector/spec/compositionRef.libsonnet b/grafanaplane/ml/v1alpha1/outlierDetector/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/ml/v1alpha1/outlierDetector/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/ml/v1alpha1/outlierDetector/spec/compositionRevisionRef.libsonnet b/grafanaplane/ml/v1alpha1/outlierDetector/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/ml/v1alpha1/outlierDetector/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/ml/v1alpha1/outlierDetector/spec/compositionSelector.libsonnet b/grafanaplane/ml/v1alpha1/outlierDetector/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/ml/v1alpha1/outlierDetector/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/ml/v1alpha1/outlierDetector/spec/main.libsonnet b/grafanaplane/ml/v1alpha1/outlierDetector/spec/main.libsonnet new file mode 100644 index 0000000..f866b4f --- /dev/null +++ b/grafanaplane/ml/v1alpha1/outlierDetector/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'OutlierDetectorSpec defines the desired state of OutlierDetector' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'OutlierDetectorSpec defines the desired state of OutlierDetector' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/ml/v1alpha1/outlierDetector/spec/parameters.libsonnet b/grafanaplane/ml/v1alpha1/outlierDetector/spec/parameters.libsonnet new file mode 100644 index 0000000..8e2e250 --- /dev/null +++ b/grafanaplane/ml/v1alpha1/outlierDetector/spec/parameters.libsonnet @@ -0,0 +1,1075 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withAlgorithm': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The algorithm to use and its configuration. See https://grafana.com/docs/grafana-cloud/machine-learning/outlier-detection/ for details.' } }, + withAlgorithm(value): { + spec+: { + parameters+: { + forProvider+: { + algorithm: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withAlgorithmMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The algorithm to use and its configuration. See https://grafana.com/docs/grafana-cloud/machine-learning/outlier-detection/ for details.' } }, + withAlgorithmMixin(value): { + spec+: { + parameters+: { + forProvider+: { + algorithm+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + algorithm+: + { + '#': { help: '', name: 'algorithm' }, + '#withConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'For DBSCAN only, specify the configuration map' } }, + withConfig(value): { + config: + (if std.isArray(value) + then value + else [value]), + }, + '#withConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'For DBSCAN only, specify the configuration map' } }, + withConfigMixin(value): { + config+: + (if std.isArray(value) + then value + else [value]), + }, + config+: + { + '#': { help: '', name: 'config' }, + '#withEpsilon': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Specify the epsilon parameter (positive float)' } }, + withEpsilon(value): { + epsilon: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "The name of the algorithm to use ('mad' or 'dbscan')." } }, + withName(value): { + name: value, + }, + '#withSensitivity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Specify the sensitivity of the detector (in range [0,1]).' } }, + withSensitivity(value): { + sensitivity: value, + }, + }, + '#withDataSourceRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate datasourceUid.' } }, + withDataSourceRef(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceRef: value, + }, + }, + }, + }, + '#withDataSourceRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate datasourceUid.' } }, + withDataSourceRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceRef+: value, + }, + }, + }, + }, + dataSourceRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + dataSourceRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDataSourceSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate datasourceUid.' } }, + withDataSourceSelector(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceSelector: value, + }, + }, + }, + }, + '#withDataSourceSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate datasourceUid.' } }, + withDataSourceSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceSelector+: value, + }, + }, + }, + }, + dataSourceSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + dataSourceSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + dataSourceSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + dataSourceSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDatasourceType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The type of datasource being queried. Currently allowed values are prometheus, graphite, loki, postgres, and datadog.' } }, + withDatasourceType(value): { + spec+: { + parameters+: { + forProvider+: { + datasourceType: value, + }, + }, + }, + }, + '#withDatasourceUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The uid of the datasource to query.' } }, + withDatasourceUid(value): { + spec+: { + parameters+: { + forProvider+: { + datasourceUid: value, + }, + }, + }, + }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A description of the outlier detector.' } }, + withDescription(value): { + spec+: { + parameters+: { + forProvider+: { + description: value, + }, + }, + }, + }, + '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'The data interval in seconds to monitor. Defaults to `300`.' } }, + withInterval(value): { + spec+: { + parameters+: { + forProvider+: { + interval: value, + }, + }, + }, + }, + '#withMetric': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The metric used to query the outlier detector results.' } }, + withMetric(value): { + spec+: { + parameters+: { + forProvider+: { + metric: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the outlier detector.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withQueryParams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the query params to query Grafana with.' } }, + withQueryParams(value): { + spec+: { + parameters+: { + forProvider+: { + queryParams: value, + }, + }, + }, + }, + '#withQueryParamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the query params to query Grafana with.' } }, + withQueryParamsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + queryParams+: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withAlgorithm': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The algorithm to use and its configuration. See https://grafana.com/docs/grafana-cloud/machine-learning/outlier-detection/ for details.' } }, + withAlgorithm(value): { + spec+: { + parameters+: { + initProvider+: { + algorithm: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withAlgorithmMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The algorithm to use and its configuration. See https://grafana.com/docs/grafana-cloud/machine-learning/outlier-detection/ for details.' } }, + withAlgorithmMixin(value): { + spec+: { + parameters+: { + initProvider+: { + algorithm+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + algorithm+: + { + '#': { help: '', name: 'algorithm' }, + '#withConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'For DBSCAN only, specify the configuration map' } }, + withConfig(value): { + config: + (if std.isArray(value) + then value + else [value]), + }, + '#withConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'For DBSCAN only, specify the configuration map' } }, + withConfigMixin(value): { + config+: + (if std.isArray(value) + then value + else [value]), + }, + config+: + { + '#': { help: '', name: 'config' }, + '#withEpsilon': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Specify the epsilon parameter (positive float)' } }, + withEpsilon(value): { + epsilon: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "The name of the algorithm to use ('mad' or 'dbscan')." } }, + withName(value): { + name: value, + }, + '#withSensitivity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Specify the sensitivity of the detector (in range [0,1]).' } }, + withSensitivity(value): { + sensitivity: value, + }, + }, + '#withDataSourceRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate datasourceUid.' } }, + withDataSourceRef(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceRef: value, + }, + }, + }, + }, + '#withDataSourceRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate datasourceUid.' } }, + withDataSourceRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceRef+: value, + }, + }, + }, + }, + dataSourceRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + dataSourceRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDataSourceSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate datasourceUid.' } }, + withDataSourceSelector(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceSelector: value, + }, + }, + }, + }, + '#withDataSourceSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate datasourceUid.' } }, + withDataSourceSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceSelector+: value, + }, + }, + }, + }, + dataSourceSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + dataSourceSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + dataSourceSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + dataSourceSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDatasourceType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The type of datasource being queried. Currently allowed values are prometheus, graphite, loki, postgres, and datadog.' } }, + withDatasourceType(value): { + spec+: { + parameters+: { + initProvider+: { + datasourceType: value, + }, + }, + }, + }, + '#withDatasourceUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The uid of the datasource to query.' } }, + withDatasourceUid(value): { + spec+: { + parameters+: { + initProvider+: { + datasourceUid: value, + }, + }, + }, + }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A description of the outlier detector.' } }, + withDescription(value): { + spec+: { + parameters+: { + initProvider+: { + description: value, + }, + }, + }, + }, + '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'The data interval in seconds to monitor. Defaults to `300`.' } }, + withInterval(value): { + spec+: { + parameters+: { + initProvider+: { + interval: value, + }, + }, + }, + }, + '#withMetric': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The metric used to query the outlier detector results.' } }, + withMetric(value): { + spec+: { + parameters+: { + initProvider+: { + metric: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the outlier detector.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withQueryParams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the query params to query Grafana with.' } }, + withQueryParams(value): { + spec+: { + parameters+: { + initProvider+: { + queryParams: value, + }, + }, + }, + }, + '#withQueryParamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the query params to query Grafana with.' } }, + withQueryParamsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + queryParams+: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/ml/v1alpha1/outlierDetector/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/ml/v1alpha1/outlierDetector/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/ml/v1alpha1/outlierDetector/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/main.libsonnet b/grafanaplane/oncall/main.libsonnet new file mode 100644 index 0000000..ce69b58 --- /dev/null +++ b/grafanaplane/oncall/main.libsonnet @@ -0,0 +1,4 @@ +{ + '#': { help: '', name: 'oncall' }, + v1alpha1+: import './v1alpha1/main.libsonnet', +} diff --git a/grafanaplane/oncall/v1alpha1/escalation/main.libsonnet b/grafanaplane/oncall/v1alpha1/escalation/main.libsonnet new file mode 100644 index 0000000..265e003 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/escalation/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'escalation' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oncall.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'Escalation', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oncall/v1alpha1/escalation/metadata/main.libsonnet b/grafanaplane/oncall/v1alpha1/escalation/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/escalation/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/escalation/spec/compositionRef.libsonnet b/grafanaplane/oncall/v1alpha1/escalation/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/escalation/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/escalation/spec/compositionRevisionRef.libsonnet b/grafanaplane/oncall/v1alpha1/escalation/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/escalation/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/escalation/spec/compositionSelector.libsonnet b/grafanaplane/oncall/v1alpha1/escalation/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/escalation/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/escalation/spec/main.libsonnet b/grafanaplane/oncall/v1alpha1/escalation/spec/main.libsonnet new file mode 100644 index 0000000..6755100 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/escalation/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'EscalationSpec defines the desired state of Escalation' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'EscalationSpec defines the desired state of Escalation' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oncall/v1alpha1/escalation/spec/parameters.libsonnet b/grafanaplane/oncall/v1alpha1/escalation/spec/parameters.libsonnet new file mode 100644 index 0000000..d585c06 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/escalation/spec/parameters.libsonnet @@ -0,0 +1,1935 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withActionToTrigger': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of an Action for trigger_webhook type step.\nThe ID of an Action for trigger_webhook type step.' } }, + withActionToTrigger(value): { + spec+: { + parameters+: { + forProvider+: { + actionToTrigger: value, + }, + }, + }, + }, + '#withActionToTriggerRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a OutgoingWebhook in oncall to populate actionToTrigger.' } }, + withActionToTriggerRef(value): { + spec+: { + parameters+: { + forProvider+: { + actionToTriggerRef: value, + }, + }, + }, + }, + '#withActionToTriggerRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a OutgoingWebhook in oncall to populate actionToTrigger.' } }, + withActionToTriggerRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + actionToTriggerRef+: value, + }, + }, + }, + }, + actionToTriggerRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + actionToTriggerRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + actionToTriggerRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + actionToTriggerRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + actionToTriggerRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + actionToTriggerRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withActionToTriggerSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a OutgoingWebhook in oncall to populate actionToTrigger.' } }, + withActionToTriggerSelector(value): { + spec+: { + parameters+: { + forProvider+: { + actionToTriggerSelector: value, + }, + }, + }, + }, + '#withActionToTriggerSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a OutgoingWebhook in oncall to populate actionToTrigger.' } }, + withActionToTriggerSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + actionToTriggerSelector+: value, + }, + }, + }, + }, + actionToTriggerSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + actionToTriggerSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + actionToTriggerSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + actionToTriggerSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + actionToTriggerSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + actionToTriggerSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + actionToTriggerSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + actionToTriggerSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDuration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The duration of delay for wait type step.\nThe duration of delay for wait type step.' } }, + withDuration(value): { + spec+: { + parameters+: { + forProvider+: { + duration: value, + }, + }, + }, + }, + '#withEscalationChainId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the escalation chain.\nThe ID of the escalation chain.' } }, + withEscalationChainId(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainId: value, + }, + }, + }, + }, + '#withEscalationChainRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainRef(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainRef: value, + }, + }, + }, + }, + '#withEscalationChainRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainRef+: value, + }, + }, + }, + }, + escalationChainRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + escalationChainRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withEscalationChainSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainSelector(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainSelector: value, + }, + }, + }, + }, + '#withEscalationChainSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainSelector+: value, + }, + }, + }, + }, + escalationChainSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + escalationChainSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + escalationChainSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withGroupToNotify': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of a User Group for notify_user_group type step.\nThe ID of a User Group for notify_user_group type step.' } }, + withGroupToNotify(value): { + spec+: { + parameters+: { + forProvider+: { + groupToNotify: value, + }, + }, + }, + }, + '#withImportant': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Will activate "important" personal notification rules. Actual for steps: notify_persons, notify_on_call_from_schedule and notify_user_group,notify_team_members\nWill activate "important" personal notification rules. Actual for steps: notify_persons, notify_on_call_from_schedule and notify_user_group,notify_team_members' } }, + withImportant(value=true): { + spec+: { + parameters+: { + forProvider+: { + important: value, + }, + }, + }, + }, + '#withNotifyIfTimeFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The beginning of the time interval for notify_if_time_from_to type step in UTC (for example 08:00:00Z).\nThe beginning of the time interval for notify_if_time_from_to type step in UTC (for example 08:00:00Z).' } }, + withNotifyIfTimeFrom(value): { + spec+: { + parameters+: { + forProvider+: { + notifyIfTimeFrom: value, + }, + }, + }, + }, + '#withNotifyIfTimeTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The end of the time interval for notify_if_time_from_to type step in UTC (for example 18:00:00Z).\nThe end of the time interval for notify_if_time_from_to type step in UTC (for example 18:00:00Z).' } }, + withNotifyIfTimeTo(value): { + spec+: { + parameters+: { + forProvider+: { + notifyIfTimeTo: value, + }, + }, + }, + }, + '#withNotifyOnCallFromSchedule': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of a Schedule for notify_on_call_from_schedule type step.\nID of a Schedule for notify_on_call_from_schedule type step.' } }, + withNotifyOnCallFromSchedule(value): { + spec+: { + parameters+: { + forProvider+: { + notifyOnCallFromSchedule: value, + }, + }, + }, + }, + '#withNotifyOnCallFromScheduleRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Schedule in oncall to populate notifyOnCallFromSchedule.' } }, + withNotifyOnCallFromScheduleRef(value): { + spec+: { + parameters+: { + forProvider+: { + notifyOnCallFromScheduleRef: value, + }, + }, + }, + }, + '#withNotifyOnCallFromScheduleRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Schedule in oncall to populate notifyOnCallFromSchedule.' } }, + withNotifyOnCallFromScheduleRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + notifyOnCallFromScheduleRef+: value, + }, + }, + }, + }, + notifyOnCallFromScheduleRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + notifyOnCallFromScheduleRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + notifyOnCallFromScheduleRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + notifyOnCallFromScheduleRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + notifyOnCallFromScheduleRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + notifyOnCallFromScheduleRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withNotifyOnCallFromScheduleSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Schedule in oncall to populate notifyOnCallFromSchedule.' } }, + withNotifyOnCallFromScheduleSelector(value): { + spec+: { + parameters+: { + forProvider+: { + notifyOnCallFromScheduleSelector: value, + }, + }, + }, + }, + '#withNotifyOnCallFromScheduleSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Schedule in oncall to populate notifyOnCallFromSchedule.' } }, + withNotifyOnCallFromScheduleSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + notifyOnCallFromScheduleSelector+: value, + }, + }, + }, + }, + notifyOnCallFromScheduleSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + notifyOnCallFromScheduleSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + notifyOnCallFromScheduleSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + notifyOnCallFromScheduleSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + notifyOnCallFromScheduleSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + notifyOnCallFromScheduleSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + notifyOnCallFromScheduleSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + notifyOnCallFromScheduleSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withNotifyToTeamMembers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of a Team for a notify_team_members type step.\nThe ID of a Team for a notify_team_members type step.' } }, + withNotifyToTeamMembers(value): { + spec+: { + parameters+: { + forProvider+: { + notifyToTeamMembers: value, + }, + }, + }, + }, + '#withPersonsToNotify': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) The list of ID's of users for notify_persons type step.\nThe list of ID's of users for notify_persons type step." } }, + withPersonsToNotify(value): { + spec+: { + parameters+: { + forProvider+: { + personsToNotify: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPersonsToNotifyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) The list of ID's of users for notify_persons type step.\nThe list of ID's of users for notify_persons type step." } }, + withPersonsToNotifyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + personsToNotify+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPersonsToNotifyNextEachTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) The list of ID's of users for notify_person_next_each_time type step.\nThe list of ID's of users for notify_person_next_each_time type step." } }, + withPersonsToNotifyNextEachTime(value): { + spec+: { + parameters+: { + forProvider+: { + personsToNotifyNextEachTime: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPersonsToNotifyNextEachTimeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) The list of ID's of users for notify_person_next_each_time type step.\nThe list of ID's of users for notify_person_next_each_time type step." } }, + withPersonsToNotifyNextEachTimeMixin(value): { + spec+: { + parameters+: { + forProvider+: { + personsToNotifyNextEachTime+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPosition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The position of the escalation step (starts from 0).\nThe position of the escalation step (starts from 0).' } }, + withPosition(value): { + spec+: { + parameters+: { + forProvider+: { + position: value, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_webhook, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation, notify_team_members\nThe type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_webhook, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation, notify_team_members' } }, + withType(value): { + spec+: { + parameters+: { + forProvider+: { + type: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withActionToTrigger': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of an Action for trigger_webhook type step.\nThe ID of an Action for trigger_webhook type step.' } }, + withActionToTrigger(value): { + spec+: { + parameters+: { + initProvider+: { + actionToTrigger: value, + }, + }, + }, + }, + '#withActionToTriggerRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a OutgoingWebhook in oncall to populate actionToTrigger.' } }, + withActionToTriggerRef(value): { + spec+: { + parameters+: { + initProvider+: { + actionToTriggerRef: value, + }, + }, + }, + }, + '#withActionToTriggerRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a OutgoingWebhook in oncall to populate actionToTrigger.' } }, + withActionToTriggerRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + actionToTriggerRef+: value, + }, + }, + }, + }, + actionToTriggerRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + actionToTriggerRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + actionToTriggerRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + actionToTriggerRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + actionToTriggerRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + actionToTriggerRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withActionToTriggerSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a OutgoingWebhook in oncall to populate actionToTrigger.' } }, + withActionToTriggerSelector(value): { + spec+: { + parameters+: { + initProvider+: { + actionToTriggerSelector: value, + }, + }, + }, + }, + '#withActionToTriggerSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a OutgoingWebhook in oncall to populate actionToTrigger.' } }, + withActionToTriggerSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + actionToTriggerSelector+: value, + }, + }, + }, + }, + actionToTriggerSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + actionToTriggerSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + actionToTriggerSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + actionToTriggerSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + actionToTriggerSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + actionToTriggerSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + actionToTriggerSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + actionToTriggerSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDuration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The duration of delay for wait type step.\nThe duration of delay for wait type step.' } }, + withDuration(value): { + spec+: { + parameters+: { + initProvider+: { + duration: value, + }, + }, + }, + }, + '#withEscalationChainId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the escalation chain.\nThe ID of the escalation chain.' } }, + withEscalationChainId(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainId: value, + }, + }, + }, + }, + '#withEscalationChainRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainRef(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainRef: value, + }, + }, + }, + }, + '#withEscalationChainRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainRef+: value, + }, + }, + }, + }, + escalationChainRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + escalationChainRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withEscalationChainSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainSelector(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainSelector: value, + }, + }, + }, + }, + '#withEscalationChainSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainSelector+: value, + }, + }, + }, + }, + escalationChainSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + escalationChainSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + escalationChainSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withGroupToNotify': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of a User Group for notify_user_group type step.\nThe ID of a User Group for notify_user_group type step.' } }, + withGroupToNotify(value): { + spec+: { + parameters+: { + initProvider+: { + groupToNotify: value, + }, + }, + }, + }, + '#withImportant': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Will activate "important" personal notification rules. Actual for steps: notify_persons, notify_on_call_from_schedule and notify_user_group,notify_team_members\nWill activate "important" personal notification rules. Actual for steps: notify_persons, notify_on_call_from_schedule and notify_user_group,notify_team_members' } }, + withImportant(value=true): { + spec+: { + parameters+: { + initProvider+: { + important: value, + }, + }, + }, + }, + '#withNotifyIfTimeFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The beginning of the time interval for notify_if_time_from_to type step in UTC (for example 08:00:00Z).\nThe beginning of the time interval for notify_if_time_from_to type step in UTC (for example 08:00:00Z).' } }, + withNotifyIfTimeFrom(value): { + spec+: { + parameters+: { + initProvider+: { + notifyIfTimeFrom: value, + }, + }, + }, + }, + '#withNotifyIfTimeTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The end of the time interval for notify_if_time_from_to type step in UTC (for example 18:00:00Z).\nThe end of the time interval for notify_if_time_from_to type step in UTC (for example 18:00:00Z).' } }, + withNotifyIfTimeTo(value): { + spec+: { + parameters+: { + initProvider+: { + notifyIfTimeTo: value, + }, + }, + }, + }, + '#withNotifyOnCallFromSchedule': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of a Schedule for notify_on_call_from_schedule type step.\nID of a Schedule for notify_on_call_from_schedule type step.' } }, + withNotifyOnCallFromSchedule(value): { + spec+: { + parameters+: { + initProvider+: { + notifyOnCallFromSchedule: value, + }, + }, + }, + }, + '#withNotifyOnCallFromScheduleRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Schedule in oncall to populate notifyOnCallFromSchedule.' } }, + withNotifyOnCallFromScheduleRef(value): { + spec+: { + parameters+: { + initProvider+: { + notifyOnCallFromScheduleRef: value, + }, + }, + }, + }, + '#withNotifyOnCallFromScheduleRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Schedule in oncall to populate notifyOnCallFromSchedule.' } }, + withNotifyOnCallFromScheduleRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + notifyOnCallFromScheduleRef+: value, + }, + }, + }, + }, + notifyOnCallFromScheduleRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + notifyOnCallFromScheduleRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + notifyOnCallFromScheduleRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + notifyOnCallFromScheduleRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + notifyOnCallFromScheduleRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + notifyOnCallFromScheduleRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withNotifyOnCallFromScheduleSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Schedule in oncall to populate notifyOnCallFromSchedule.' } }, + withNotifyOnCallFromScheduleSelector(value): { + spec+: { + parameters+: { + initProvider+: { + notifyOnCallFromScheduleSelector: value, + }, + }, + }, + }, + '#withNotifyOnCallFromScheduleSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Schedule in oncall to populate notifyOnCallFromSchedule.' } }, + withNotifyOnCallFromScheduleSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + notifyOnCallFromScheduleSelector+: value, + }, + }, + }, + }, + notifyOnCallFromScheduleSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + notifyOnCallFromScheduleSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + notifyOnCallFromScheduleSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + notifyOnCallFromScheduleSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + notifyOnCallFromScheduleSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + notifyOnCallFromScheduleSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + notifyOnCallFromScheduleSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + notifyOnCallFromScheduleSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withNotifyToTeamMembers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of a Team for a notify_team_members type step.\nThe ID of a Team for a notify_team_members type step.' } }, + withNotifyToTeamMembers(value): { + spec+: { + parameters+: { + initProvider+: { + notifyToTeamMembers: value, + }, + }, + }, + }, + '#withPersonsToNotify': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) The list of ID's of users for notify_persons type step.\nThe list of ID's of users for notify_persons type step." } }, + withPersonsToNotify(value): { + spec+: { + parameters+: { + initProvider+: { + personsToNotify: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPersonsToNotifyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) The list of ID's of users for notify_persons type step.\nThe list of ID's of users for notify_persons type step." } }, + withPersonsToNotifyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + personsToNotify+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPersonsToNotifyNextEachTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) The list of ID's of users for notify_person_next_each_time type step.\nThe list of ID's of users for notify_person_next_each_time type step." } }, + withPersonsToNotifyNextEachTime(value): { + spec+: { + parameters+: { + initProvider+: { + personsToNotifyNextEachTime: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPersonsToNotifyNextEachTimeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) The list of ID's of users for notify_person_next_each_time type step.\nThe list of ID's of users for notify_person_next_each_time type step." } }, + withPersonsToNotifyNextEachTimeMixin(value): { + spec+: { + parameters+: { + initProvider+: { + personsToNotifyNextEachTime+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPosition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The position of the escalation step (starts from 0).\nThe position of the escalation step (starts from 0).' } }, + withPosition(value): { + spec+: { + parameters+: { + initProvider+: { + position: value, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_webhook, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation, notify_team_members\nThe type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_webhook, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation, notify_team_members' } }, + withType(value): { + spec+: { + parameters+: { + initProvider+: { + type: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/escalation/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oncall/v1alpha1/escalation/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/escalation/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/escalationChain/main.libsonnet b/grafanaplane/oncall/v1alpha1/escalationChain/main.libsonnet new file mode 100644 index 0000000..df2f781 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/escalationChain/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'escalationChain' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oncall.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'EscalationChain', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oncall/v1alpha1/escalationChain/metadata/main.libsonnet b/grafanaplane/oncall/v1alpha1/escalationChain/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/escalationChain/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/escalationChain/spec/compositionRef.libsonnet b/grafanaplane/oncall/v1alpha1/escalationChain/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/escalationChain/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/escalationChain/spec/compositionRevisionRef.libsonnet b/grafanaplane/oncall/v1alpha1/escalationChain/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/escalationChain/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/escalationChain/spec/compositionSelector.libsonnet b/grafanaplane/oncall/v1alpha1/escalationChain/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/escalationChain/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/escalationChain/spec/main.libsonnet b/grafanaplane/oncall/v1alpha1/escalationChain/spec/main.libsonnet new file mode 100644 index 0000000..1d0bb6d --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/escalationChain/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'EscalationChainSpec defines the desired state of EscalationChain' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'EscalationChainSpec defines the desired state of EscalationChain' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oncall/v1alpha1/escalationChain/spec/parameters.libsonnet b/grafanaplane/oncall/v1alpha1/escalationChain/spec/parameters.libsonnet new file mode 100644 index 0000000..2bcd517 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/escalationChain/spec/parameters.libsonnet @@ -0,0 +1,427 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the escalation chain.\nThe name of the escalation chain.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.\nThe ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.' } }, + withTeamId(value): { + spec+: { + parameters+: { + forProvider+: { + teamId: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the escalation chain.\nThe name of the escalation chain.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.\nThe ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.' } }, + withTeamId(value): { + spec+: { + parameters+: { + initProvider+: { + teamId: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/escalationChain/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oncall/v1alpha1/escalationChain/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/escalationChain/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/integration/main.libsonnet b/grafanaplane/oncall/v1alpha1/integration/main.libsonnet new file mode 100644 index 0000000..345e25f --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/integration/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'integration' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oncall.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'Integration', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oncall/v1alpha1/integration/metadata/main.libsonnet b/grafanaplane/oncall/v1alpha1/integration/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/integration/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/integration/spec/compositionRef.libsonnet b/grafanaplane/oncall/v1alpha1/integration/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/integration/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/integration/spec/compositionRevisionRef.libsonnet b/grafanaplane/oncall/v1alpha1/integration/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/integration/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/integration/spec/compositionSelector.libsonnet b/grafanaplane/oncall/v1alpha1/integration/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/integration/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/integration/spec/main.libsonnet b/grafanaplane/oncall/v1alpha1/integration/spec/main.libsonnet new file mode 100644 index 0000000..e3d2ed6 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/integration/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'IntegrationSpec defines the desired state of Integration' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'IntegrationSpec defines the desired state of Integration' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oncall/v1alpha1/integration/spec/parameters.libsonnet b/grafanaplane/oncall/v1alpha1/integration/spec/parameters.libsonnet new file mode 100644 index 0000000..660d77e --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/integration/spec/parameters.libsonnet @@ -0,0 +1,1359 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withDefaultRoute': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) The Default route for all alerts from the given integration (see below for nested schema)\nThe Default route for all alerts from the given integration' } }, + withDefaultRoute(value): { + spec+: { + parameters+: { + forProvider+: { + defaultRoute: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withDefaultRouteMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) The Default route for all alerts from the given integration (see below for nested schema)\nThe Default route for all alerts from the given integration' } }, + withDefaultRouteMixin(value): { + spec+: { + parameters+: { + forProvider+: { + defaultRoute+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + defaultRoute+: + { + '#': { help: '', name: 'defaultRoute' }, + '#withEscalationChainId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the escalation chain.\nThe ID of the escalation chain.' } }, + withEscalationChainId(value): { + escalationChainId: value, + }, + '#withEscalationChainRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainRef(value): { + escalationChainRef: value, + }, + '#withEscalationChainRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainRefMixin(value): { + escalationChainRef+: value, + }, + escalationChainRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + escalationChainRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + escalationChainRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + escalationChainRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + escalationChainRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + escalationChainRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withEscalationChainSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainSelector(value): { + escalationChainSelector: value, + }, + '#withEscalationChainSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainSelectorMixin(value): { + escalationChainSelector+: value, + }, + escalationChainSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + escalationChainSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + escalationChainSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + escalationChainSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + escalationChainSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + escalationChainSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + escalationChainSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + escalationChainSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withMsteams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nMS teams-specific settings for a route.' } }, + withMsteams(value): { + msteams: + (if std.isArray(value) + then value + else [value]), + }, + '#withMsteamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nMS teams-specific settings for a route.' } }, + withMsteamsMixin(value): { + msteams+: + (if std.isArray(value) + then value + else [value]), + }, + msteams+: + { + '#': { help: '', name: 'msteams' }, + '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in MS teams. Defaults to `true`.' } }, + withEnabled(value=true): { + enabled: value, + }, + '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of this resource.\nMS teams channel id. Alerts will be directed to this channel in Microsoft teams.' } }, + withId(value): { + id: value, + }, + }, + '#withSlack': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nSlack-specific settings for a route.' } }, + withSlack(value): { + slack: + (if std.isArray(value) + then value + else [value]), + }, + '#withSlackMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nSlack-specific settings for a route.' } }, + withSlackMixin(value): { + slack+: + (if std.isArray(value) + then value + else [value]), + }, + slack+: + { + '#': { help: '', name: 'slack' }, + '#withChannelId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Slack channel id. Alerts will be directed to this channel in Slack.\nSlack channel id. Alerts will be directed to this channel in Slack.' } }, + withChannelId(value): { + channelId: value, + }, + '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in Slack. Defaults to `true`.' } }, + withEnabled(value=true): { + enabled: value, + }, + }, + '#withTelegram': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTelegram-specific settings for a route.' } }, + withTelegram(value): { + telegram: + (if std.isArray(value) + then value + else [value]), + }, + '#withTelegramMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTelegram-specific settings for a route.' } }, + withTelegramMixin(value): { + telegram+: + (if std.isArray(value) + then value + else [value]), + }, + telegram+: + { + '#': { help: '', name: 'telegram' }, + '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in Telegram. Defaults to `true`.' } }, + withEnabled(value=true): { + enabled: value, + }, + '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of this resource.\nTelegram channel id. Alerts will be directed to this channel in Telegram.' } }, + withId(value): { + id: value, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the service integration.\nThe name of the service integration.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.\nThe ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.' } }, + withTeamId(value): { + spec+: { + parameters+: { + forProvider+: { + teamId: value, + }, + }, + }, + }, + '#withTemplates': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Jinja2 templates for Alert payload. An empty templates block will be ignored. (see below for nested schema)\nJinja2 templates for Alert payload. An empty templates block will be ignored.' } }, + withTemplates(value): { + spec+: { + parameters+: { + forProvider+: { + templates: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withTemplatesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Jinja2 templates for Alert payload. An empty templates block will be ignored. (see below for nested schema)\nJinja2 templates for Alert payload. An empty templates block will be ignored.' } }, + withTemplatesMixin(value): { + spec+: { + parameters+: { + forProvider+: { + templates+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + templates+: + { + '#': { help: '', name: 'templates' }, + '#withAcknowledgeSignal': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for sending a signal to acknowledge the Incident.\nTemplate for sending a signal to acknowledge the Incident.' } }, + withAcknowledgeSignal(value): { + acknowledgeSignal: value, + }, + '#withEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Email. (see below for nested schema)\nTemplates for Email.' } }, + withEmail(value): { + email: + (if std.isArray(value) + then value + else [value]), + }, + '#withEmailMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Email. (see below for nested schema)\nTemplates for Email.' } }, + withEmailMixin(value): { + email+: + (if std.isArray(value) + then value + else [value]), + }, + email+: + { + '#': { help: '', name: 'email' }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert message.\nTemplate for Alert message.' } }, + withMessage(value): { + message: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, + withTitle(value): { + title: value, + }, + }, + '#withGroupingKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for the key by which alerts are grouped.\nTemplate for the key by which alerts are grouped.' } }, + withGroupingKey(value): { + groupingKey: value, + }, + '#withMicrosoftTeams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Microsoft Teams. (see below for nested schema)\nTemplates for Microsoft Teams.' } }, + withMicrosoftTeams(value): { + microsoftTeams: + (if std.isArray(value) + then value + else [value]), + }, + '#withMicrosoftTeamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Microsoft Teams. (see below for nested schema)\nTemplates for Microsoft Teams.' } }, + withMicrosoftTeamsMixin(value): { + microsoftTeams+: + (if std.isArray(value) + then value + else [value]), + }, + microsoftTeams+: + { + '#': { help: '', name: 'microsoftTeams' }, + '#withImageUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert image url.\nTemplate for Alert image url.' } }, + withImageUrl(value): { + imageUrl: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert message.\nTemplate for Alert message.' } }, + withMessage(value): { + message: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, + withTitle(value): { + title: value, + }, + }, + '#withPhoneCall': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Phone Call. (see below for nested schema)\nTemplates for Phone Call.' } }, + withPhoneCall(value): { + phoneCall: + (if std.isArray(value) + then value + else [value]), + }, + '#withPhoneCallMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Phone Call. (see below for nested schema)\nTemplates for Phone Call.' } }, + withPhoneCallMixin(value): { + phoneCall+: + (if std.isArray(value) + then value + else [value]), + }, + phoneCall+: + { + '#': { help: '', name: 'phoneCall' }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, + withTitle(value): { + title: value, + }, + }, + '#withResolveSignal': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for sending a signal to resolve the Incident.\nTemplate for sending a signal to resolve the Incident.' } }, + withResolveSignal(value): { + resolveSignal: value, + }, + '#withSlack': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTemplates for Slack.' } }, + withSlack(value): { + slack: + (if std.isArray(value) + then value + else [value]), + }, + '#withSlackMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTemplates for Slack.' } }, + withSlackMixin(value): { + slack+: + (if std.isArray(value) + then value + else [value]), + }, + slack+: + { + '#': { help: '', name: 'slack' }, + '#withImageUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert image url.\nTemplate for Alert image url.' } }, + withImageUrl(value): { + imageUrl: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert message.\nTemplate for Alert message.' } }, + withMessage(value): { + message: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, + withTitle(value): { + title: value, + }, + }, + '#withSms': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for SMS. (see below for nested schema)\nTemplates for SMS.' } }, + withSms(value): { + sms: + (if std.isArray(value) + then value + else [value]), + }, + '#withSmsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for SMS. (see below for nested schema)\nTemplates for SMS.' } }, + withSmsMixin(value): { + sms+: + (if std.isArray(value) + then value + else [value]), + }, + sms+: + { + '#': { help: '', name: 'sms' }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, + withTitle(value): { + title: value, + }, + }, + '#withSourceLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for a source link.\nTemplate for a source link.' } }, + withSourceLink(value): { + sourceLink: value, + }, + '#withTelegram': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTemplates for Telegram.' } }, + withTelegram(value): { + telegram: + (if std.isArray(value) + then value + else [value]), + }, + '#withTelegramMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTemplates for Telegram.' } }, + withTelegramMixin(value): { + telegram+: + (if std.isArray(value) + then value + else [value]), + }, + telegram+: + { + '#': { help: '', name: 'telegram' }, + '#withImageUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert image url.\nTemplate for Alert image url.' } }, + withImageUrl(value): { + imageUrl: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert message.\nTemplate for Alert message.' } }, + withMessage(value): { + message: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, + withTitle(value): { + title: value, + }, + }, + '#withWeb': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Web. (see below for nested schema)\nTemplates for Web.' } }, + withWeb(value): { + web: + (if std.isArray(value) + then value + else [value]), + }, + '#withWebMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Web. (see below for nested schema)\nTemplates for Web.' } }, + withWebMixin(value): { + web+: + (if std.isArray(value) + then value + else [value]), + }, + web+: + { + '#': { help: '', name: 'web' }, + '#withImageUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert image url.\nTemplate for Alert image url.' } }, + withImageUrl(value): { + imageUrl: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert message.\nTemplate for Alert message.' } }, + withMessage(value): { + message: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, + withTitle(value): { + title: value, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.\nThe type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.' } }, + withType(value): { + spec+: { + parameters+: { + forProvider+: { + type: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withDefaultRoute': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) The Default route for all alerts from the given integration (see below for nested schema)\nThe Default route for all alerts from the given integration' } }, + withDefaultRoute(value): { + spec+: { + parameters+: { + initProvider+: { + defaultRoute: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withDefaultRouteMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) The Default route for all alerts from the given integration (see below for nested schema)\nThe Default route for all alerts from the given integration' } }, + withDefaultRouteMixin(value): { + spec+: { + parameters+: { + initProvider+: { + defaultRoute+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + defaultRoute+: + { + '#': { help: '', name: 'defaultRoute' }, + '#withEscalationChainId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the escalation chain.\nThe ID of the escalation chain.' } }, + withEscalationChainId(value): { + escalationChainId: value, + }, + '#withEscalationChainRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainRef(value): { + escalationChainRef: value, + }, + '#withEscalationChainRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainRefMixin(value): { + escalationChainRef+: value, + }, + escalationChainRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + escalationChainRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + escalationChainRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + escalationChainRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + escalationChainRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + escalationChainRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withEscalationChainSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainSelector(value): { + escalationChainSelector: value, + }, + '#withEscalationChainSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainSelectorMixin(value): { + escalationChainSelector+: value, + }, + escalationChainSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + escalationChainSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + escalationChainSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + escalationChainSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + escalationChainSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + escalationChainSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + escalationChainSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + escalationChainSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withMsteams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nMS teams-specific settings for a route.' } }, + withMsteams(value): { + msteams: + (if std.isArray(value) + then value + else [value]), + }, + '#withMsteamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nMS teams-specific settings for a route.' } }, + withMsteamsMixin(value): { + msteams+: + (if std.isArray(value) + then value + else [value]), + }, + msteams+: + { + '#': { help: '', name: 'msteams' }, + '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in MS teams. Defaults to `true`.' } }, + withEnabled(value=true): { + enabled: value, + }, + '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of this resource.\nMS teams channel id. Alerts will be directed to this channel in Microsoft teams.' } }, + withId(value): { + id: value, + }, + }, + '#withSlack': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nSlack-specific settings for a route.' } }, + withSlack(value): { + slack: + (if std.isArray(value) + then value + else [value]), + }, + '#withSlackMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nSlack-specific settings for a route.' } }, + withSlackMixin(value): { + slack+: + (if std.isArray(value) + then value + else [value]), + }, + slack+: + { + '#': { help: '', name: 'slack' }, + '#withChannelId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Slack channel id. Alerts will be directed to this channel in Slack.\nSlack channel id. Alerts will be directed to this channel in Slack.' } }, + withChannelId(value): { + channelId: value, + }, + '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in Slack. Defaults to `true`.' } }, + withEnabled(value=true): { + enabled: value, + }, + }, + '#withTelegram': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTelegram-specific settings for a route.' } }, + withTelegram(value): { + telegram: + (if std.isArray(value) + then value + else [value]), + }, + '#withTelegramMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTelegram-specific settings for a route.' } }, + withTelegramMixin(value): { + telegram+: + (if std.isArray(value) + then value + else [value]), + }, + telegram+: + { + '#': { help: '', name: 'telegram' }, + '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in Telegram. Defaults to `true`.' } }, + withEnabled(value=true): { + enabled: value, + }, + '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of this resource.\nTelegram channel id. Alerts will be directed to this channel in Telegram.' } }, + withId(value): { + id: value, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the service integration.\nThe name of the service integration.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.\nThe ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.' } }, + withTeamId(value): { + spec+: { + parameters+: { + initProvider+: { + teamId: value, + }, + }, + }, + }, + '#withTemplates': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Jinja2 templates for Alert payload. An empty templates block will be ignored. (see below for nested schema)\nJinja2 templates for Alert payload. An empty templates block will be ignored.' } }, + withTemplates(value): { + spec+: { + parameters+: { + initProvider+: { + templates: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withTemplatesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Jinja2 templates for Alert payload. An empty templates block will be ignored. (see below for nested schema)\nJinja2 templates for Alert payload. An empty templates block will be ignored.' } }, + withTemplatesMixin(value): { + spec+: { + parameters+: { + initProvider+: { + templates+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + templates+: + { + '#': { help: '', name: 'templates' }, + '#withAcknowledgeSignal': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for sending a signal to acknowledge the Incident.\nTemplate for sending a signal to acknowledge the Incident.' } }, + withAcknowledgeSignal(value): { + acknowledgeSignal: value, + }, + '#withEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Email. (see below for nested schema)\nTemplates for Email.' } }, + withEmail(value): { + email: + (if std.isArray(value) + then value + else [value]), + }, + '#withEmailMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Email. (see below for nested schema)\nTemplates for Email.' } }, + withEmailMixin(value): { + email+: + (if std.isArray(value) + then value + else [value]), + }, + email+: + { + '#': { help: '', name: 'email' }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert message.\nTemplate for Alert message.' } }, + withMessage(value): { + message: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, + withTitle(value): { + title: value, + }, + }, + '#withGroupingKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for the key by which alerts are grouped.\nTemplate for the key by which alerts are grouped.' } }, + withGroupingKey(value): { + groupingKey: value, + }, + '#withMicrosoftTeams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Microsoft Teams. (see below for nested schema)\nTemplates for Microsoft Teams.' } }, + withMicrosoftTeams(value): { + microsoftTeams: + (if std.isArray(value) + then value + else [value]), + }, + '#withMicrosoftTeamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Microsoft Teams. (see below for nested schema)\nTemplates for Microsoft Teams.' } }, + withMicrosoftTeamsMixin(value): { + microsoftTeams+: + (if std.isArray(value) + then value + else [value]), + }, + microsoftTeams+: + { + '#': { help: '', name: 'microsoftTeams' }, + '#withImageUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert image url.\nTemplate for Alert image url.' } }, + withImageUrl(value): { + imageUrl: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert message.\nTemplate for Alert message.' } }, + withMessage(value): { + message: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, + withTitle(value): { + title: value, + }, + }, + '#withPhoneCall': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Phone Call. (see below for nested schema)\nTemplates for Phone Call.' } }, + withPhoneCall(value): { + phoneCall: + (if std.isArray(value) + then value + else [value]), + }, + '#withPhoneCallMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Phone Call. (see below for nested schema)\nTemplates for Phone Call.' } }, + withPhoneCallMixin(value): { + phoneCall+: + (if std.isArray(value) + then value + else [value]), + }, + phoneCall+: + { + '#': { help: '', name: 'phoneCall' }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, + withTitle(value): { + title: value, + }, + }, + '#withResolveSignal': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for sending a signal to resolve the Incident.\nTemplate for sending a signal to resolve the Incident.' } }, + withResolveSignal(value): { + resolveSignal: value, + }, + '#withSlack': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTemplates for Slack.' } }, + withSlack(value): { + slack: + (if std.isArray(value) + then value + else [value]), + }, + '#withSlackMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTemplates for Slack.' } }, + withSlackMixin(value): { + slack+: + (if std.isArray(value) + then value + else [value]), + }, + slack+: + { + '#': { help: '', name: 'slack' }, + '#withImageUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert image url.\nTemplate for Alert image url.' } }, + withImageUrl(value): { + imageUrl: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert message.\nTemplate for Alert message.' } }, + withMessage(value): { + message: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, + withTitle(value): { + title: value, + }, + }, + '#withSms': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for SMS. (see below for nested schema)\nTemplates for SMS.' } }, + withSms(value): { + sms: + (if std.isArray(value) + then value + else [value]), + }, + '#withSmsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for SMS. (see below for nested schema)\nTemplates for SMS.' } }, + withSmsMixin(value): { + sms+: + (if std.isArray(value) + then value + else [value]), + }, + sms+: + { + '#': { help: '', name: 'sms' }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, + withTitle(value): { + title: value, + }, + }, + '#withSourceLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for a source link.\nTemplate for a source link.' } }, + withSourceLink(value): { + sourceLink: value, + }, + '#withTelegram': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTemplates for Telegram.' } }, + withTelegram(value): { + telegram: + (if std.isArray(value) + then value + else [value]), + }, + '#withTelegramMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTemplates for Telegram.' } }, + withTelegramMixin(value): { + telegram+: + (if std.isArray(value) + then value + else [value]), + }, + telegram+: + { + '#': { help: '', name: 'telegram' }, + '#withImageUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert image url.\nTemplate for Alert image url.' } }, + withImageUrl(value): { + imageUrl: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert message.\nTemplate for Alert message.' } }, + withMessage(value): { + message: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, + withTitle(value): { + title: value, + }, + }, + '#withWeb': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Web. (see below for nested schema)\nTemplates for Web.' } }, + withWeb(value): { + web: + (if std.isArray(value) + then value + else [value]), + }, + '#withWebMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Web. (see below for nested schema)\nTemplates for Web.' } }, + withWebMixin(value): { + web+: + (if std.isArray(value) + then value + else [value]), + }, + web+: + { + '#': { help: '', name: 'web' }, + '#withImageUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert image url.\nTemplate for Alert image url.' } }, + withImageUrl(value): { + imageUrl: value, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert message.\nTemplate for Alert message.' } }, + withMessage(value): { + message: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, + withTitle(value): { + title: value, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.\nThe type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.' } }, + withType(value): { + spec+: { + parameters+: { + initProvider+: { + type: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/integration/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oncall/v1alpha1/integration/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/integration/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/main.libsonnet b/grafanaplane/oncall/v1alpha1/main.libsonnet new file mode 100644 index 0000000..7defd78 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/main.libsonnet @@ -0,0 +1,10 @@ +{ + escalationChain+: import './escalationChain/main.libsonnet', + escalation+: import './escalation/main.libsonnet', + integration+: import './integration/main.libsonnet', + onCallShift+: import './onCallShift/main.libsonnet', + outgoingWebhook+: import './outgoingWebhook/main.libsonnet', + route+: import './route/main.libsonnet', + schedule+: import './schedule/main.libsonnet', + userNotificationRule+: import './userNotificationRule/main.libsonnet', +} diff --git a/grafanaplane/oncall/v1alpha1/onCallShift/main.libsonnet b/grafanaplane/oncall/v1alpha1/onCallShift/main.libsonnet new file mode 100644 index 0000000..4c70cb9 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/onCallShift/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'onCallShift' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oncall.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'OnCallShift', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oncall/v1alpha1/onCallShift/metadata/main.libsonnet b/grafanaplane/oncall/v1alpha1/onCallShift/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/onCallShift/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/onCallShift/spec/compositionRef.libsonnet b/grafanaplane/oncall/v1alpha1/onCallShift/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/onCallShift/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/onCallShift/spec/compositionRevisionRef.libsonnet b/grafanaplane/oncall/v1alpha1/onCallShift/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/onCallShift/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/onCallShift/spec/compositionSelector.libsonnet b/grafanaplane/oncall/v1alpha1/onCallShift/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/onCallShift/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/onCallShift/spec/main.libsonnet b/grafanaplane/oncall/v1alpha1/onCallShift/spec/main.libsonnet new file mode 100644 index 0000000..532602d --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/onCallShift/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'OnCallShiftSpec defines the desired state of OnCallShift' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'OnCallShiftSpec defines the desired state of OnCallShift' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oncall/v1alpha1/onCallShift/spec/parameters.libsonnet b/grafanaplane/oncall/v1alpha1/onCallShift/spec/parameters.libsonnet new file mode 100644 index 0000000..190010a --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/onCallShift/spec/parameters.libsonnet @@ -0,0 +1,867 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withByDay': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) This parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU\nThis parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU' } }, + withByDay(value): { + spec+: { + parameters+: { + forProvider+: { + byDay: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withByDayMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) This parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU\nThis parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU' } }, + withByDayMixin(value): { + spec+: { + parameters+: { + forProvider+: { + byDay+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withByMonth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) This parameter takes a list of months. Valid values are 1 to 12\nThis parameter takes a list of months. Valid values are 1 to 12' } }, + withByMonth(value): { + spec+: { + parameters+: { + forProvider+: { + byMonth: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withByMonthMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) This parameter takes a list of months. Valid values are 1 to 12\nThis parameter takes a list of months. Valid values are 1 to 12' } }, + withByMonthMixin(value): { + spec+: { + parameters+: { + forProvider+: { + byMonth+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withByMonthday': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '31 to -1\nThis parameter takes a list of days of the month. Valid values are 1 to 31 or -31 to -1' } }, + withByMonthday(value): { + spec+: { + parameters+: { + forProvider+: { + byMonthday: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withByMonthdayMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '31 to -1\nThis parameter takes a list of days of the month. Valid values are 1 to 31 or -31 to -1' } }, + withByMonthdayMixin(value): { + spec+: { + parameters+: { + forProvider+: { + byMonthday+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withDuration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The duration of the event.\nThe duration of the event.' } }, + withDuration(value): { + spec+: { + parameters+: { + forProvider+: { + duration: value, + }, + }, + }, + }, + '#withFrequency': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The frequency of the event. Can be hourly, daily, weekly, monthly\nThe frequency of the event. Can be hourly, daily, weekly, monthly' } }, + withFrequency(value): { + spec+: { + parameters+: { + forProvider+: { + frequency: value, + }, + }, + }, + }, + '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The positive integer representing at which intervals the recurrence rule repeats.\nThe positive integer representing at which intervals the recurrence rule repeats.' } }, + withInterval(value): { + spec+: { + parameters+: { + forProvider+: { + interval: value, + }, + }, + }, + }, + '#withLevel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The priority level. The higher the value, the higher the priority.\nThe priority level. The higher the value, the higher the priority.' } }, + withLevel(value): { + spec+: { + parameters+: { + forProvider+: { + level: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The shift's name.\nThe shift's name." } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withRollingUsers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'call users (for rolling_users event type)\nThe list of lists with on-call users (for rolling_users event type)' } }, + withRollingUsers(value): { + spec+: { + parameters+: { + forProvider+: { + rollingUsers: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withRollingUsersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'call users (for rolling_users event type)\nThe list of lists with on-call users (for rolling_users event type)' } }, + withRollingUsersMixin(value): { + spec+: { + parameters+: { + forProvider+: { + rollingUsers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "call shift. This parameter takes a date format as yyyy-MM-dd'T'HH:mm:ss (for example \"2020-09-05T08:00:00\")\nThe start time of the on-call shift. This parameter takes a date format as yyyy-MM-dd'T'HH:mm:ss (for example \"2020-09-05T08:00:00\")" } }, + withStart(value): { + spec+: { + parameters+: { + forProvider+: { + start: value, + }, + }, + }, + }, + '#withStartRotationFromUserIndex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'call rotation starts.\nThe index of the list of users in rolling_users, from which on-call rotation starts.' } }, + withStartRotationFromUserIndex(value): { + spec+: { + parameters+: { + forProvider+: { + startRotationFromUserIndex: value, + }, + }, + }, + }, + '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.\nThe ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.' } }, + withTeamId(value): { + spec+: { + parameters+: { + forProvider+: { + teamId: value, + }, + }, + }, + }, + '#withTimeZone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The shift's timezone. Overrides schedule's timezone.\nThe shift's timezone. Overrides schedule's timezone." } }, + withTimeZone(value): { + spec+: { + parameters+: { + forProvider+: { + timeZone: value, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The shift's type. Can be rolling_users, recurrent_event, single_event\nThe shift's type. Can be rolling_users, recurrent_event, single_event" } }, + withType(value): { + spec+: { + parameters+: { + forProvider+: { + type: value, + }, + }, + }, + }, + '#withUsers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'call users (for single_event and recurrent_event event type).\nThe list of on-call users (for single_event and recurrent_event event type).' } }, + withUsers(value): { + spec+: { + parameters+: { + forProvider+: { + users: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withUsersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'call users (for single_event and recurrent_event event type).\nThe list of on-call users (for single_event and recurrent_event event type).' } }, + withUsersMixin(value): { + spec+: { + parameters+: { + forProvider+: { + users+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withWeekStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Start day of the week in iCal format. Can be MO, TU, WE, TH, FR, SA, SU\nStart day of the week in iCal format. Can be MO, TU, WE, TH, FR, SA, SU' } }, + withWeekStart(value): { + spec+: { + parameters+: { + forProvider+: { + weekStart: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withByDay': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) This parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU\nThis parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU' } }, + withByDay(value): { + spec+: { + parameters+: { + initProvider+: { + byDay: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withByDayMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) This parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU\nThis parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU' } }, + withByDayMixin(value): { + spec+: { + parameters+: { + initProvider+: { + byDay+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withByMonth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) This parameter takes a list of months. Valid values are 1 to 12\nThis parameter takes a list of months. Valid values are 1 to 12' } }, + withByMonth(value): { + spec+: { + parameters+: { + initProvider+: { + byMonth: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withByMonthMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) This parameter takes a list of months. Valid values are 1 to 12\nThis parameter takes a list of months. Valid values are 1 to 12' } }, + withByMonthMixin(value): { + spec+: { + parameters+: { + initProvider+: { + byMonth+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withByMonthday': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '31 to -1\nThis parameter takes a list of days of the month. Valid values are 1 to 31 or -31 to -1' } }, + withByMonthday(value): { + spec+: { + parameters+: { + initProvider+: { + byMonthday: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withByMonthdayMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '31 to -1\nThis parameter takes a list of days of the month. Valid values are 1 to 31 or -31 to -1' } }, + withByMonthdayMixin(value): { + spec+: { + parameters+: { + initProvider+: { + byMonthday+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withDuration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The duration of the event.\nThe duration of the event.' } }, + withDuration(value): { + spec+: { + parameters+: { + initProvider+: { + duration: value, + }, + }, + }, + }, + '#withFrequency': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The frequency of the event. Can be hourly, daily, weekly, monthly\nThe frequency of the event. Can be hourly, daily, weekly, monthly' } }, + withFrequency(value): { + spec+: { + parameters+: { + initProvider+: { + frequency: value, + }, + }, + }, + }, + '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The positive integer representing at which intervals the recurrence rule repeats.\nThe positive integer representing at which intervals the recurrence rule repeats.' } }, + withInterval(value): { + spec+: { + parameters+: { + initProvider+: { + interval: value, + }, + }, + }, + }, + '#withLevel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The priority level. The higher the value, the higher the priority.\nThe priority level. The higher the value, the higher the priority.' } }, + withLevel(value): { + spec+: { + parameters+: { + initProvider+: { + level: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The shift's name.\nThe shift's name." } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withRollingUsers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'call users (for rolling_users event type)\nThe list of lists with on-call users (for rolling_users event type)' } }, + withRollingUsers(value): { + spec+: { + parameters+: { + initProvider+: { + rollingUsers: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withRollingUsersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'call users (for rolling_users event type)\nThe list of lists with on-call users (for rolling_users event type)' } }, + withRollingUsersMixin(value): { + spec+: { + parameters+: { + initProvider+: { + rollingUsers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "call shift. This parameter takes a date format as yyyy-MM-dd'T'HH:mm:ss (for example \"2020-09-05T08:00:00\")\nThe start time of the on-call shift. This parameter takes a date format as yyyy-MM-dd'T'HH:mm:ss (for example \"2020-09-05T08:00:00\")" } }, + withStart(value): { + spec+: { + parameters+: { + initProvider+: { + start: value, + }, + }, + }, + }, + '#withStartRotationFromUserIndex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'call rotation starts.\nThe index of the list of users in rolling_users, from which on-call rotation starts.' } }, + withStartRotationFromUserIndex(value): { + spec+: { + parameters+: { + initProvider+: { + startRotationFromUserIndex: value, + }, + }, + }, + }, + '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.\nThe ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.' } }, + withTeamId(value): { + spec+: { + parameters+: { + initProvider+: { + teamId: value, + }, + }, + }, + }, + '#withTimeZone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The shift's timezone. Overrides schedule's timezone.\nThe shift's timezone. Overrides schedule's timezone." } }, + withTimeZone(value): { + spec+: { + parameters+: { + initProvider+: { + timeZone: value, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The shift's type. Can be rolling_users, recurrent_event, single_event\nThe shift's type. Can be rolling_users, recurrent_event, single_event" } }, + withType(value): { + spec+: { + parameters+: { + initProvider+: { + type: value, + }, + }, + }, + }, + '#withUsers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'call users (for single_event and recurrent_event event type).\nThe list of on-call users (for single_event and recurrent_event event type).' } }, + withUsers(value): { + spec+: { + parameters+: { + initProvider+: { + users: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withUsersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'call users (for single_event and recurrent_event event type).\nThe list of on-call users (for single_event and recurrent_event event type).' } }, + withUsersMixin(value): { + spec+: { + parameters+: { + initProvider+: { + users+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withWeekStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Start day of the week in iCal format. Can be MO, TU, WE, TH, FR, SA, SU\nStart day of the week in iCal format. Can be MO, TU, WE, TH, FR, SA, SU' } }, + withWeekStart(value): { + spec+: { + parameters+: { + initProvider+: { + weekStart: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/onCallShift/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oncall/v1alpha1/onCallShift/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/onCallShift/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/outgoingWebhook/main.libsonnet b/grafanaplane/oncall/v1alpha1/outgoingWebhook/main.libsonnet new file mode 100644 index 0000000..3f11774 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/outgoingWebhook/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'outgoingWebhook' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oncall.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'OutgoingWebhook', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oncall/v1alpha1/outgoingWebhook/metadata/main.libsonnet b/grafanaplane/oncall/v1alpha1/outgoingWebhook/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/outgoingWebhook/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/outgoingWebhook/spec/compositionRef.libsonnet b/grafanaplane/oncall/v1alpha1/outgoingWebhook/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/outgoingWebhook/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/outgoingWebhook/spec/compositionRevisionRef.libsonnet b/grafanaplane/oncall/v1alpha1/outgoingWebhook/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/outgoingWebhook/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/outgoingWebhook/spec/compositionSelector.libsonnet b/grafanaplane/oncall/v1alpha1/outgoingWebhook/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/outgoingWebhook/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/outgoingWebhook/spec/main.libsonnet b/grafanaplane/oncall/v1alpha1/outgoingWebhook/spec/main.libsonnet new file mode 100644 index 0000000..28a6156 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/outgoingWebhook/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'OutgoingWebhookSpec defines the desired state of OutgoingWebhook' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'OutgoingWebhookSpec defines the desired state of OutgoingWebhook' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oncall/v1alpha1/outgoingWebhook/spec/parameters.libsonnet b/grafanaplane/oncall/v1alpha1/outgoingWebhook/spec/parameters.libsonnet new file mode 100644 index 0000000..3f100e5 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/outgoingWebhook/spec/parameters.libsonnet @@ -0,0 +1,895 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withAuthorizationHeaderSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The auth data of the webhook. Used in Authorization header instead of user/password auth.\nThe auth data of the webhook. Used in Authorization header instead of user/password auth.' } }, + withAuthorizationHeaderSecretRef(value): { + spec+: { + parameters+: { + forProvider+: { + authorizationHeaderSecretRef: value, + }, + }, + }, + }, + '#withAuthorizationHeaderSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The auth data of the webhook. Used in Authorization header instead of user/password auth.\nThe auth data of the webhook. Used in Authorization header instead of user/password auth.' } }, + withAuthorizationHeaderSecretRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + authorizationHeaderSecretRef+: value, + }, + }, + }, + }, + authorizationHeaderSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + spec+: { + parameters+: { + forProvider+: { + authorizationHeaderSecretRef+: { + key: value, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + authorizationHeaderSecretRef+: { + name: value, + }, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + forProvider+: { + authorizationHeaderSecretRef+: { + namespace: value, + }, + }, + }, + }, + }, + }, + '#withData': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The data of the webhook.\nThe data of the webhook.' } }, + withData(value): { + spec+: { + parameters+: { + forProvider+: { + data: value, + }, + }, + }, + }, + '#withForwardWholePayload': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Toggle to send the entire webhook payload instead of using the values in the Data field.\nToggle to send the entire webhook payload instead of using the values in the Data field.' } }, + withForwardWholePayload(value=true): { + spec+: { + parameters+: { + forProvider+: { + forwardWholePayload: value, + }, + }, + }, + }, + '#withHeaders': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Headers to add to the outgoing webhook request.\nHeaders to add to the outgoing webhook request.' } }, + withHeaders(value): { + spec+: { + parameters+: { + forProvider+: { + headers: value, + }, + }, + }, + }, + '#withHttpMethod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The HTTP method used in the request made by the outgoing webhook. Defaults to POST.\nThe HTTP method used in the request made by the outgoing webhook. Defaults to `POST`.' } }, + withHttpMethod(value): { + spec+: { + parameters+: { + forProvider+: { + httpMethod: value, + }, + }, + }, + }, + '#withIntegrationFilter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) Restricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.\nRestricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.' } }, + withIntegrationFilter(value): { + spec+: { + parameters+: { + forProvider+: { + integrationFilter: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withIntegrationFilterMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) Restricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.\nRestricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.' } }, + withIntegrationFilterMixin(value): { + spec+: { + parameters+: { + forProvider+: { + integrationFilter+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withIsWebhookEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Controls whether the outgoing webhook will trigger or is ignored. Defaults to true.\nControls whether the outgoing webhook will trigger or is ignored. Defaults to `true`.' } }, + withIsWebhookEnabled(value=true): { + spec+: { + parameters+: { + forProvider+: { + isWebhookEnabled: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the outgoing webhook.\nThe name of the outgoing webhook.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The auth data of the webhook. Used for Basic authentication\nThe auth data of the webhook. Used for Basic authentication' } }, + withPasswordSecretRef(value): { + spec+: { + parameters+: { + forProvider+: { + passwordSecretRef: value, + }, + }, + }, + }, + '#withPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The auth data of the webhook. Used for Basic authentication\nThe auth data of the webhook. Used for Basic authentication' } }, + withPasswordSecretRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + passwordSecretRef+: value, + }, + }, + }, + }, + passwordSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + spec+: { + parameters+: { + forProvider+: { + passwordSecretRef+: { + key: value, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + passwordSecretRef+: { + name: value, + }, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + forProvider+: { + passwordSecretRef+: { + namespace: value, + }, + }, + }, + }, + }, + }, + '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.\nThe ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.' } }, + withTeamId(value): { + spec+: { + parameters+: { + forProvider+: { + teamId: value, + }, + }, + }, + }, + '#withTriggerTemplate': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) A template used to dynamically determine whether the webhook should execute based on the content of the payload.\nA template used to dynamically determine whether the webhook should execute based on the content of the payload.' } }, + withTriggerTemplate(value): { + spec+: { + parameters+: { + forProvider+: { + triggerTemplate: value, + }, + }, + }, + }, + '#withTriggerType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of event that will cause this outgoing webhook to execute. The types of triggers are: escalation, alert group created, acknowledge, resolve, silence, unsilence, unresolve, unacknowledge. Defaults to escalation.\nThe type of event that will cause this outgoing webhook to execute. The types of triggers are: `escalation`, `alert group created`, `acknowledge`, `resolve`, `silence`, `unsilence`, `unresolve`, `unacknowledge`. Defaults to `escalation`.' } }, + withTriggerType(value): { + spec+: { + parameters+: { + forProvider+: { + triggerType: value, + }, + }, + }, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The webhook URL.\nThe webhook URL.' } }, + withUrl(value): { + spec+: { + parameters+: { + forProvider+: { + url: value, + }, + }, + }, + }, + '#withUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Username to use when making the outgoing webhook request.\nUsername to use when making the outgoing webhook request.' } }, + withUser(value): { + spec+: { + parameters+: { + forProvider+: { + user: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withAuthorizationHeaderSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The auth data of the webhook. Used in Authorization header instead of user/password auth.\nThe auth data of the webhook. Used in Authorization header instead of user/password auth.' } }, + withAuthorizationHeaderSecretRef(value): { + spec+: { + parameters+: { + initProvider+: { + authorizationHeaderSecretRef: value, + }, + }, + }, + }, + '#withAuthorizationHeaderSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The auth data of the webhook. Used in Authorization header instead of user/password auth.\nThe auth data of the webhook. Used in Authorization header instead of user/password auth.' } }, + withAuthorizationHeaderSecretRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + authorizationHeaderSecretRef+: value, + }, + }, + }, + }, + authorizationHeaderSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + spec+: { + parameters+: { + initProvider+: { + authorizationHeaderSecretRef+: { + key: value, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + authorizationHeaderSecretRef+: { + name: value, + }, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + initProvider+: { + authorizationHeaderSecretRef+: { + namespace: value, + }, + }, + }, + }, + }, + }, + '#withData': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The data of the webhook.\nThe data of the webhook.' } }, + withData(value): { + spec+: { + parameters+: { + initProvider+: { + data: value, + }, + }, + }, + }, + '#withForwardWholePayload': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Toggle to send the entire webhook payload instead of using the values in the Data field.\nToggle to send the entire webhook payload instead of using the values in the Data field.' } }, + withForwardWholePayload(value=true): { + spec+: { + parameters+: { + initProvider+: { + forwardWholePayload: value, + }, + }, + }, + }, + '#withHeaders': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Headers to add to the outgoing webhook request.\nHeaders to add to the outgoing webhook request.' } }, + withHeaders(value): { + spec+: { + parameters+: { + initProvider+: { + headers: value, + }, + }, + }, + }, + '#withHttpMethod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The HTTP method used in the request made by the outgoing webhook. Defaults to POST.\nThe HTTP method used in the request made by the outgoing webhook. Defaults to `POST`.' } }, + withHttpMethod(value): { + spec+: { + parameters+: { + initProvider+: { + httpMethod: value, + }, + }, + }, + }, + '#withIntegrationFilter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) Restricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.\nRestricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.' } }, + withIntegrationFilter(value): { + spec+: { + parameters+: { + initProvider+: { + integrationFilter: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withIntegrationFilterMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) Restricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.\nRestricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.' } }, + withIntegrationFilterMixin(value): { + spec+: { + parameters+: { + initProvider+: { + integrationFilter+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withIsWebhookEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Controls whether the outgoing webhook will trigger or is ignored. Defaults to true.\nControls whether the outgoing webhook will trigger or is ignored. Defaults to `true`.' } }, + withIsWebhookEnabled(value=true): { + spec+: { + parameters+: { + initProvider+: { + isWebhookEnabled: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the outgoing webhook.\nThe name of the outgoing webhook.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The auth data of the webhook. Used for Basic authentication\nThe auth data of the webhook. Used for Basic authentication' } }, + withPasswordSecretRef(value): { + spec+: { + parameters+: { + initProvider+: { + passwordSecretRef: value, + }, + }, + }, + }, + '#withPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The auth data of the webhook. Used for Basic authentication\nThe auth data of the webhook. Used for Basic authentication' } }, + withPasswordSecretRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + passwordSecretRef+: value, + }, + }, + }, + }, + passwordSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + spec+: { + parameters+: { + initProvider+: { + passwordSecretRef+: { + key: value, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + passwordSecretRef+: { + name: value, + }, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + initProvider+: { + passwordSecretRef+: { + namespace: value, + }, + }, + }, + }, + }, + }, + '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.\nThe ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.' } }, + withTeamId(value): { + spec+: { + parameters+: { + initProvider+: { + teamId: value, + }, + }, + }, + }, + '#withTriggerTemplate': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) A template used to dynamically determine whether the webhook should execute based on the content of the payload.\nA template used to dynamically determine whether the webhook should execute based on the content of the payload.' } }, + withTriggerTemplate(value): { + spec+: { + parameters+: { + initProvider+: { + triggerTemplate: value, + }, + }, + }, + }, + '#withTriggerType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of event that will cause this outgoing webhook to execute. The types of triggers are: escalation, alert group created, acknowledge, resolve, silence, unsilence, unresolve, unacknowledge. Defaults to escalation.\nThe type of event that will cause this outgoing webhook to execute. The types of triggers are: `escalation`, `alert group created`, `acknowledge`, `resolve`, `silence`, `unsilence`, `unresolve`, `unacknowledge`. Defaults to `escalation`.' } }, + withTriggerType(value): { + spec+: { + parameters+: { + initProvider+: { + triggerType: value, + }, + }, + }, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The webhook URL.\nThe webhook URL.' } }, + withUrl(value): { + spec+: { + parameters+: { + initProvider+: { + url: value, + }, + }, + }, + }, + '#withUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Username to use when making the outgoing webhook request.\nUsername to use when making the outgoing webhook request.' } }, + withUser(value): { + spec+: { + parameters+: { + initProvider+: { + user: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/outgoingWebhook/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oncall/v1alpha1/outgoingWebhook/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/outgoingWebhook/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/route/main.libsonnet b/grafanaplane/oncall/v1alpha1/route/main.libsonnet new file mode 100644 index 0000000..d75f89e --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/route/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'route' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oncall.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'Route', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oncall/v1alpha1/route/metadata/main.libsonnet b/grafanaplane/oncall/v1alpha1/route/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/route/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/route/spec/compositionRef.libsonnet b/grafanaplane/oncall/v1alpha1/route/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/route/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/route/spec/compositionRevisionRef.libsonnet b/grafanaplane/oncall/v1alpha1/route/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/route/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/route/spec/compositionSelector.libsonnet b/grafanaplane/oncall/v1alpha1/route/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/route/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/route/spec/main.libsonnet b/grafanaplane/oncall/v1alpha1/route/spec/main.libsonnet new file mode 100644 index 0000000..b2e05e2 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/route/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RouteSpec defines the desired state of Route' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RouteSpec defines the desired state of Route' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oncall/v1alpha1/route/spec/parameters.libsonnet b/grafanaplane/oncall/v1alpha1/route/spec/parameters.libsonnet new file mode 100644 index 0000000..a924818 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/route/spec/parameters.libsonnet @@ -0,0 +1,1531 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withEscalationChainId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the escalation chain.\nThe ID of the escalation chain.' } }, + withEscalationChainId(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainId: value, + }, + }, + }, + }, + '#withEscalationChainRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainRef(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainRef: value, + }, + }, + }, + }, + '#withEscalationChainRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainRef+: value, + }, + }, + }, + }, + escalationChainRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + escalationChainRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withEscalationChainSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainSelector(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainSelector: value, + }, + }, + }, + }, + '#withEscalationChainSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainSelector+: value, + }, + }, + }, + }, + escalationChainSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + escalationChainSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + escalationChainSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + escalationChainSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withIntegrationId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the integration.\nThe ID of the integration.' } }, + withIntegrationId(value): { + spec+: { + parameters+: { + forProvider+: { + integrationId: value, + }, + }, + }, + }, + '#withIntegrationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Integration in oncall to populate integrationId.' } }, + withIntegrationRef(value): { + spec+: { + parameters+: { + forProvider+: { + integrationRef: value, + }, + }, + }, + }, + '#withIntegrationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Integration in oncall to populate integrationId.' } }, + withIntegrationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + integrationRef+: value, + }, + }, + }, + }, + integrationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + integrationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + integrationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + integrationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + integrationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + integrationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withIntegrationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Integration in oncall to populate integrationId.' } }, + withIntegrationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + integrationSelector: value, + }, + }, + }, + }, + '#withIntegrationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Integration in oncall to populate integrationId.' } }, + withIntegrationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + integrationSelector+: value, + }, + }, + }, + }, + integrationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + integrationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + integrationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + integrationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + integrationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + integrationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + integrationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + integrationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMsteams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nMS teams-specific settings for a route.' } }, + withMsteams(value): { + spec+: { + parameters+: { + forProvider+: { + msteams: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withMsteamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nMS teams-specific settings for a route.' } }, + withMsteamsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + msteams+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + msteams+: + { + '#': { help: '', name: 'msteams' }, + '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in MS teams. Defaults to `true`.' } }, + withEnabled(value=true): { + enabled: value, + }, + '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of this resource.\nMS teams channel id. Alerts will be directed to this channel in Microsoft teams.' } }, + withId(value): { + id: value, + }, + }, + '#withPosition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The position of the route (starts from 0).\nThe position of the route (starts from 0).' } }, + withPosition(value): { + spec+: { + parameters+: { + forProvider+: { + position: value, + }, + }, + }, + }, + '#withRoutingRegex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Python Regex query. Route is chosen for an alert if there is a match inside the alert payload.\nPython Regex query. Route is chosen for an alert if there is a match inside the alert payload.' } }, + withRoutingRegex(value): { + spec+: { + parameters+: { + forProvider+: { + routingRegex: value, + }, + }, + }, + }, + '#withRoutingType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of route. Can be jinja2, regex Defaults to regex.\nThe type of route. Can be jinja2, regex Defaults to `regex`.' } }, + withRoutingType(value): { + spec+: { + parameters+: { + forProvider+: { + routingType: value, + }, + }, + }, + }, + '#withSlack': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nSlack-specific settings for a route.' } }, + withSlack(value): { + spec+: { + parameters+: { + forProvider+: { + slack: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withSlackMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nSlack-specific settings for a route.' } }, + withSlackMixin(value): { + spec+: { + parameters+: { + forProvider+: { + slack+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + slack+: + { + '#': { help: '', name: 'slack' }, + '#withChannelId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Slack channel id. Alerts will be directed to this channel in Slack.\nSlack channel id. Alerts will be directed to this channel in Slack.' } }, + withChannelId(value): { + channelId: value, + }, + '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in Slack. Defaults to `true`.' } }, + withEnabled(value=true): { + enabled: value, + }, + }, + '#withTelegram': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTelegram-specific settings for a route.' } }, + withTelegram(value): { + spec+: { + parameters+: { + forProvider+: { + telegram: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withTelegramMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTelegram-specific settings for a route.' } }, + withTelegramMixin(value): { + spec+: { + parameters+: { + forProvider+: { + telegram+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + telegram+: + { + '#': { help: '', name: 'telegram' }, + '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in Telegram. Defaults to `true`.' } }, + withEnabled(value=true): { + enabled: value, + }, + '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of this resource.\nTelegram channel id. Alerts will be directed to this channel in Telegram.' } }, + withId(value): { + id: value, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withEscalationChainId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the escalation chain.\nThe ID of the escalation chain.' } }, + withEscalationChainId(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainId: value, + }, + }, + }, + }, + '#withEscalationChainRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainRef(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainRef: value, + }, + }, + }, + }, + '#withEscalationChainRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainRef+: value, + }, + }, + }, + }, + escalationChainRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + escalationChainRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withEscalationChainSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainSelector(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainSelector: value, + }, + }, + }, + }, + '#withEscalationChainSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, + withEscalationChainSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainSelector+: value, + }, + }, + }, + }, + escalationChainSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + escalationChainSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + escalationChainSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + escalationChainSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withIntegrationId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the integration.\nThe ID of the integration.' } }, + withIntegrationId(value): { + spec+: { + parameters+: { + initProvider+: { + integrationId: value, + }, + }, + }, + }, + '#withIntegrationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Integration in oncall to populate integrationId.' } }, + withIntegrationRef(value): { + spec+: { + parameters+: { + initProvider+: { + integrationRef: value, + }, + }, + }, + }, + '#withIntegrationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Integration in oncall to populate integrationId.' } }, + withIntegrationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + integrationRef+: value, + }, + }, + }, + }, + integrationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + integrationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + integrationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + integrationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + integrationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + integrationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withIntegrationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Integration in oncall to populate integrationId.' } }, + withIntegrationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + integrationSelector: value, + }, + }, + }, + }, + '#withIntegrationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Integration in oncall to populate integrationId.' } }, + withIntegrationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + integrationSelector+: value, + }, + }, + }, + }, + integrationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + integrationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + integrationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + integrationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + integrationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + integrationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + integrationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + integrationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMsteams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nMS teams-specific settings for a route.' } }, + withMsteams(value): { + spec+: { + parameters+: { + initProvider+: { + msteams: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withMsteamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nMS teams-specific settings for a route.' } }, + withMsteamsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + msteams+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + msteams+: + { + '#': { help: '', name: 'msteams' }, + '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in MS teams. Defaults to `true`.' } }, + withEnabled(value=true): { + enabled: value, + }, + '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of this resource.\nMS teams channel id. Alerts will be directed to this channel in Microsoft teams.' } }, + withId(value): { + id: value, + }, + }, + '#withPosition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The position of the route (starts from 0).\nThe position of the route (starts from 0).' } }, + withPosition(value): { + spec+: { + parameters+: { + initProvider+: { + position: value, + }, + }, + }, + }, + '#withRoutingRegex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Python Regex query. Route is chosen for an alert if there is a match inside the alert payload.\nPython Regex query. Route is chosen for an alert if there is a match inside the alert payload.' } }, + withRoutingRegex(value): { + spec+: { + parameters+: { + initProvider+: { + routingRegex: value, + }, + }, + }, + }, + '#withRoutingType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of route. Can be jinja2, regex Defaults to regex.\nThe type of route. Can be jinja2, regex Defaults to `regex`.' } }, + withRoutingType(value): { + spec+: { + parameters+: { + initProvider+: { + routingType: value, + }, + }, + }, + }, + '#withSlack': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nSlack-specific settings for a route.' } }, + withSlack(value): { + spec+: { + parameters+: { + initProvider+: { + slack: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withSlackMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nSlack-specific settings for a route.' } }, + withSlackMixin(value): { + spec+: { + parameters+: { + initProvider+: { + slack+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + slack+: + { + '#': { help: '', name: 'slack' }, + '#withChannelId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Slack channel id. Alerts will be directed to this channel in Slack.\nSlack channel id. Alerts will be directed to this channel in Slack.' } }, + withChannelId(value): { + channelId: value, + }, + '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in Slack. Defaults to `true`.' } }, + withEnabled(value=true): { + enabled: value, + }, + }, + '#withTelegram': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTelegram-specific settings for a route.' } }, + withTelegram(value): { + spec+: { + parameters+: { + initProvider+: { + telegram: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withTelegramMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTelegram-specific settings for a route.' } }, + withTelegramMixin(value): { + spec+: { + parameters+: { + initProvider+: { + telegram+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + telegram+: + { + '#': { help: '', name: 'telegram' }, + '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in Telegram. Defaults to `true`.' } }, + withEnabled(value=true): { + enabled: value, + }, + '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of this resource.\nTelegram channel id. Alerts will be directed to this channel in Telegram.' } }, + withId(value): { + id: value, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/route/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oncall/v1alpha1/route/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/route/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/schedule/main.libsonnet b/grafanaplane/oncall/v1alpha1/schedule/main.libsonnet new file mode 100644 index 0000000..8be005a --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/schedule/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'schedule' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oncall.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'Schedule', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oncall/v1alpha1/schedule/metadata/main.libsonnet b/grafanaplane/oncall/v1alpha1/schedule/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/schedule/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/schedule/spec/compositionRef.libsonnet b/grafanaplane/oncall/v1alpha1/schedule/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/schedule/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/schedule/spec/compositionRevisionRef.libsonnet b/grafanaplane/oncall/v1alpha1/schedule/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/schedule/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/schedule/spec/compositionSelector.libsonnet b/grafanaplane/oncall/v1alpha1/schedule/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/schedule/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/schedule/spec/main.libsonnet b/grafanaplane/oncall/v1alpha1/schedule/spec/main.libsonnet new file mode 100644 index 0000000..ae1292a --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/schedule/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ScheduleSpec defines the desired state of Schedule' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ScheduleSpec defines the desired state of Schedule' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oncall/v1alpha1/schedule/spec/parameters.libsonnet b/grafanaplane/oncall/v1alpha1/schedule/spec/parameters.libsonnet new file mode 100644 index 0000000..42d6a49 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/schedule/spec/parameters.libsonnet @@ -0,0 +1,997 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withEnableWebOverrides': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable overrides via web UI (it will ignore ical_url_overrides).\nEnable overrides via web UI (it will ignore ical_url_overrides).' } }, + withEnableWebOverrides(value=true): { + spec+: { + parameters+: { + forProvider+: { + enableWebOverrides: value, + }, + }, + }, + }, + '#withIcalUrlOverrides': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of external iCal calendar which override primary events.\nThe URL of external iCal calendar which override primary events.' } }, + withIcalUrlOverrides(value): { + spec+: { + parameters+: { + forProvider+: { + icalUrlOverrides: value, + }, + }, + }, + }, + '#withIcalUrlPrimary': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the external calendar iCal file.\nThe URL of the external calendar iCal file.' } }, + withIcalUrlPrimary(value): { + spec+: { + parameters+: { + forProvider+: { + icalUrlPrimary: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The schedule's name.\nThe schedule's name." } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withShifts': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "call shifts.\nThe list of ID's of on-call shifts." } }, + withShifts(value): { + spec+: { + parameters+: { + forProvider+: { + shifts: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withShiftsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "call shifts.\nThe list of ID's of on-call shifts." } }, + withShiftsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + shifts+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withShiftsRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to OnCallShift in oncall to populate shifts.' } }, + withShiftsRef(value): { + spec+: { + parameters+: { + forProvider+: { + shiftsRef: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withShiftsRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to OnCallShift in oncall to populate shifts.' } }, + withShiftsRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + shiftsRef+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + shiftsRef+: + { + '#': { help: '', name: 'shiftsRef' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + name: value, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + policy: value, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + policy+: value, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + policy+: { + resolution: value, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + policy+: { + resolve: value, + }, + }, + }, + }, + '#withShiftsSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of OnCallShift in oncall to populate shifts.' } }, + withShiftsSelector(value): { + spec+: { + parameters+: { + forProvider+: { + shiftsSelector: value, + }, + }, + }, + }, + '#withShiftsSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of OnCallShift in oncall to populate shifts.' } }, + withShiftsSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + shiftsSelector+: value, + }, + }, + }, + }, + shiftsSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + shiftsSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + shiftsSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + shiftsSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + shiftsSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + shiftsSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + shiftsSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + shiftsSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withSlack': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a schedule. (see below for nested schema)\nThe Slack-specific settings for a schedule.' } }, + withSlack(value): { + spec+: { + parameters+: { + forProvider+: { + slack: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withSlackMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a schedule. (see below for nested schema)\nThe Slack-specific settings for a schedule.' } }, + withSlackMixin(value): { + spec+: { + parameters+: { + forProvider+: { + slack+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + slack+: + { + '#': { help: '', name: 'slack' }, + '#withChannelId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Slack channel id. Reminder about schedule shifts will be directed to this channel in Slack.\nSlack channel id. Reminder about schedule shifts will be directed to this channel in Slack.' } }, + withChannelId(value): { + channelId: value, + }, + '#withUserGroupId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'call users change.\nSlack user group id. Members of user group will be updated when on-call users change.' } }, + withUserGroupId(value): { + userGroupId: value, + }, + }, + '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.\nThe ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.' } }, + withTeamId(value): { + spec+: { + parameters+: { + forProvider+: { + teamId: value, + }, + }, + }, + }, + '#withTimeZone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The schedule's time zone.\nThe schedule's time zone." } }, + withTimeZone(value): { + spec+: { + parameters+: { + forProvider+: { + timeZone: value, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The schedule's type. Valid values are ical, calendar.\nThe schedule's type. Valid values are `ical`, `calendar`." } }, + withType(value): { + spec+: { + parameters+: { + forProvider+: { + type: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withEnableWebOverrides': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable overrides via web UI (it will ignore ical_url_overrides).\nEnable overrides via web UI (it will ignore ical_url_overrides).' } }, + withEnableWebOverrides(value=true): { + spec+: { + parameters+: { + initProvider+: { + enableWebOverrides: value, + }, + }, + }, + }, + '#withIcalUrlOverrides': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of external iCal calendar which override primary events.\nThe URL of external iCal calendar which override primary events.' } }, + withIcalUrlOverrides(value): { + spec+: { + parameters+: { + initProvider+: { + icalUrlOverrides: value, + }, + }, + }, + }, + '#withIcalUrlPrimary': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the external calendar iCal file.\nThe URL of the external calendar iCal file.' } }, + withIcalUrlPrimary(value): { + spec+: { + parameters+: { + initProvider+: { + icalUrlPrimary: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The schedule's name.\nThe schedule's name." } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withShifts': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "call shifts.\nThe list of ID's of on-call shifts." } }, + withShifts(value): { + spec+: { + parameters+: { + initProvider+: { + shifts: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withShiftsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "call shifts.\nThe list of ID's of on-call shifts." } }, + withShiftsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + shifts+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withShiftsRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to OnCallShift in oncall to populate shifts.' } }, + withShiftsRef(value): { + spec+: { + parameters+: { + initProvider+: { + shiftsRef: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withShiftsRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to OnCallShift in oncall to populate shifts.' } }, + withShiftsRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + shiftsRef+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + shiftsRef+: + { + '#': { help: '', name: 'shiftsRef' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + name: value, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + policy: value, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + policy+: value, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + policy+: { + resolution: value, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + policy+: { + resolve: value, + }, + }, + }, + }, + '#withShiftsSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of OnCallShift in oncall to populate shifts.' } }, + withShiftsSelector(value): { + spec+: { + parameters+: { + initProvider+: { + shiftsSelector: value, + }, + }, + }, + }, + '#withShiftsSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of OnCallShift in oncall to populate shifts.' } }, + withShiftsSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + shiftsSelector+: value, + }, + }, + }, + }, + shiftsSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + shiftsSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + shiftsSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + shiftsSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + shiftsSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + shiftsSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + shiftsSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + shiftsSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withSlack': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a schedule. (see below for nested schema)\nThe Slack-specific settings for a schedule.' } }, + withSlack(value): { + spec+: { + parameters+: { + initProvider+: { + slack: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withSlackMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a schedule. (see below for nested schema)\nThe Slack-specific settings for a schedule.' } }, + withSlackMixin(value): { + spec+: { + parameters+: { + initProvider+: { + slack+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + slack+: + { + '#': { help: '', name: 'slack' }, + '#withChannelId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Slack channel id. Reminder about schedule shifts will be directed to this channel in Slack.\nSlack channel id. Reminder about schedule shifts will be directed to this channel in Slack.' } }, + withChannelId(value): { + channelId: value, + }, + '#withUserGroupId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'call users change.\nSlack user group id. Members of user group will be updated when on-call users change.' } }, + withUserGroupId(value): { + userGroupId: value, + }, + }, + '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.\nThe ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.' } }, + withTeamId(value): { + spec+: { + parameters+: { + initProvider+: { + teamId: value, + }, + }, + }, + }, + '#withTimeZone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The schedule's time zone.\nThe schedule's time zone." } }, + withTimeZone(value): { + spec+: { + parameters+: { + initProvider+: { + timeZone: value, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The schedule's type. Valid values are ical, calendar.\nThe schedule's type. Valid values are `ical`, `calendar`." } }, + withType(value): { + spec+: { + parameters+: { + initProvider+: { + type: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/schedule/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oncall/v1alpha1/schedule/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/schedule/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/userNotificationRule/main.libsonnet b/grafanaplane/oncall/v1alpha1/userNotificationRule/main.libsonnet new file mode 100644 index 0000000..bccd332 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/userNotificationRule/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'userNotificationRule' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oncall.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'UserNotificationRule', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oncall/v1alpha1/userNotificationRule/metadata/main.libsonnet b/grafanaplane/oncall/v1alpha1/userNotificationRule/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/userNotificationRule/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/userNotificationRule/spec/compositionRef.libsonnet b/grafanaplane/oncall/v1alpha1/userNotificationRule/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/userNotificationRule/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/userNotificationRule/spec/compositionRevisionRef.libsonnet b/grafanaplane/oncall/v1alpha1/userNotificationRule/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/userNotificationRule/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/userNotificationRule/spec/compositionSelector.libsonnet b/grafanaplane/oncall/v1alpha1/userNotificationRule/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/userNotificationRule/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/userNotificationRule/spec/main.libsonnet b/grafanaplane/oncall/v1alpha1/userNotificationRule/spec/main.libsonnet new file mode 100644 index 0000000..f18a81a --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/userNotificationRule/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'UserNotificationRuleSpec defines the desired state of UserNotificationRule' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'UserNotificationRuleSpec defines the desired state of UserNotificationRule' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oncall/v1alpha1/userNotificationRule/spec/parameters.libsonnet b/grafanaplane/oncall/v1alpha1/userNotificationRule/spec/parameters.libsonnet new file mode 100644 index 0000000..30246f9 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/userNotificationRule/spec/parameters.libsonnet @@ -0,0 +1,487 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withDuration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) A time in seconds to wait (when type=wait). Can be 60, 300, 900, 1800, 3600\nA time in seconds to wait (when `type=wait`). Can be 60, 300, 900, 1800, 3600' } }, + withDuration(value): { + spec+: { + parameters+: { + forProvider+: { + duration: value, + }, + }, + }, + }, + '#withImportant': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Boolean value which indicates if a rule is “important”\nBoolean value which indicates if a rule is “important”' } }, + withImportant(value=true): { + spec+: { + parameters+: { + forProvider+: { + important: value, + }, + }, + }, + }, + '#withPosition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Personal notification rules execute one after another starting from position=0. A new escalation policy created with a position of an existing escalation policy will move the old one (and all following) down on the list.\nPersonal notification rules execute one after another starting from position=0. A new escalation policy created with a position of an existing escalation policy will move the old one (and all following) down on the list.' } }, + withPosition(value): { + spec+: { + parameters+: { + forProvider+: { + position: value, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of notification rule. Can be wait, notify_by_slack, notify_by_msteams, notify_by_sms, notify_by_phone_call, notify_by_telegram, notify_by_email, notify_by_mobile_app, notify_by_mobile_app_critical. NOTE: notify_by_msteams is only available for Grafana Cloud customers.\nThe type of notification rule. Can be wait, notify_by_slack, notify_by_msteams, notify_by_sms, notify_by_phone_call, notify_by_telegram, notify_by_email, notify_by_mobile_app, notify_by_mobile_app_critical. NOTE: `notify_by_msteams` is only available for Grafana Cloud customers.' } }, + withType(value): { + spec+: { + parameters+: { + forProvider+: { + type: value, + }, + }, + }, + }, + '#withUserId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) User ID\nUser ID' } }, + withUserId(value): { + spec+: { + parameters+: { + forProvider+: { + userId: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withDuration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) A time in seconds to wait (when type=wait). Can be 60, 300, 900, 1800, 3600\nA time in seconds to wait (when `type=wait`). Can be 60, 300, 900, 1800, 3600' } }, + withDuration(value): { + spec+: { + parameters+: { + initProvider+: { + duration: value, + }, + }, + }, + }, + '#withImportant': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Boolean value which indicates if a rule is “important”\nBoolean value which indicates if a rule is “important”' } }, + withImportant(value=true): { + spec+: { + parameters+: { + initProvider+: { + important: value, + }, + }, + }, + }, + '#withPosition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Personal notification rules execute one after another starting from position=0. A new escalation policy created with a position of an existing escalation policy will move the old one (and all following) down on the list.\nPersonal notification rules execute one after another starting from position=0. A new escalation policy created with a position of an existing escalation policy will move the old one (and all following) down on the list.' } }, + withPosition(value): { + spec+: { + parameters+: { + initProvider+: { + position: value, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of notification rule. Can be wait, notify_by_slack, notify_by_msteams, notify_by_sms, notify_by_phone_call, notify_by_telegram, notify_by_email, notify_by_mobile_app, notify_by_mobile_app_critical. NOTE: notify_by_msteams is only available for Grafana Cloud customers.\nThe type of notification rule. Can be wait, notify_by_slack, notify_by_msteams, notify_by_sms, notify_by_phone_call, notify_by_telegram, notify_by_email, notify_by_mobile_app, notify_by_mobile_app_critical. NOTE: `notify_by_msteams` is only available for Grafana Cloud customers.' } }, + withType(value): { + spec+: { + parameters+: { + initProvider+: { + type: value, + }, + }, + }, + }, + '#withUserId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) User ID\nUser ID' } }, + withUserId(value): { + spec+: { + parameters+: { + initProvider+: { + userId: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oncall/v1alpha1/userNotificationRule/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oncall/v1alpha1/userNotificationRule/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oncall/v1alpha1/userNotificationRule/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/main.libsonnet b/grafanaplane/oss/main.libsonnet new file mode 100644 index 0000000..096228b --- /dev/null +++ b/grafanaplane/oss/main.libsonnet @@ -0,0 +1,4 @@ +{ + '#': { help: '', name: 'oss' }, + v1alpha1+: import './v1alpha1/main.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/annotation/main.libsonnet b/grafanaplane/oss/v1alpha1/annotation/main.libsonnet new file mode 100644 index 0000000..e0ff018 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/annotation/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'annotation' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'Annotation', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/annotation/metadata/main.libsonnet b/grafanaplane/oss/v1alpha1/annotation/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/annotation/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/annotation/spec/compositionRef.libsonnet b/grafanaplane/oss/v1alpha1/annotation/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oss/v1alpha1/annotation/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/annotation/spec/compositionRevisionRef.libsonnet b/grafanaplane/oss/v1alpha1/annotation/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/annotation/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/annotation/spec/compositionSelector.libsonnet b/grafanaplane/oss/v1alpha1/annotation/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/annotation/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/annotation/spec/main.libsonnet b/grafanaplane/oss/v1alpha1/annotation/spec/main.libsonnet new file mode 100644 index 0000000..c883287 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/annotation/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'AnnotationSpec defines the desired state of Annotation' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'AnnotationSpec defines the desired state of Annotation' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/annotation/spec/parameters.libsonnet b/grafanaplane/oss/v1alpha1/annotation/spec/parameters.libsonnet new file mode 100644 index 0000000..dd53ec0 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/annotation/spec/parameters.libsonnet @@ -0,0 +1,1375 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withDashboardRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, + withDashboardRef(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardRef: value, + }, + }, + }, + }, + '#withDashboardRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, + withDashboardRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardRef+: value, + }, + }, + }, + }, + dashboardRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + dashboardRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDashboardSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, + withDashboardSelector(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector: value, + }, + }, + }, + }, + '#withDashboardSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, + withDashboardSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: value, + }, + }, + }, + }, + dashboardSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDashboardUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The UID of the dashboard on which to create the annotation.\nThe UID of the dashboard on which to create the annotation.' } }, + withDashboardUid(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardUid: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withPanelId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The ID of the dashboard panel on which to create the annotation.\nThe ID of the dashboard panel on which to create the annotation.' } }, + withPanelId(value): { + spec+: { + parameters+: { + forProvider+: { + panelId: value, + }, + }, + }, + }, + '#withTags': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The tags to associate with the annotation.\nThe tags to associate with the annotation.' } }, + withTags(value): { + spec+: { + parameters+: { + forProvider+: { + tags: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withTagsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The tags to associate with the annotation.\nThe tags to associate with the annotation.' } }, + withTagsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + tags+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The text to associate with the annotation.\nThe text to associate with the annotation.' } }, + withText(value): { + spec+: { + parameters+: { + forProvider+: { + text: value, + }, + }, + }, + }, + '#withTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "formatted time string indicating the annotation's time.\nThe RFC 3339-formatted time string indicating the annotation's time." } }, + withTime(value): { + spec+: { + parameters+: { + forProvider+: { + time: value, + }, + }, + }, + }, + '#withTimeEnd': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "formatted time string indicating the annotation's end time.\nThe RFC 3339-formatted time string indicating the annotation's end time." } }, + withTimeEnd(value): { + spec+: { + parameters+: { + forProvider+: { + timeEnd: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withDashboardRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, + withDashboardRef(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardRef: value, + }, + }, + }, + }, + '#withDashboardRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, + withDashboardRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardRef+: value, + }, + }, + }, + }, + dashboardRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + dashboardRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDashboardSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, + withDashboardSelector(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector: value, + }, + }, + }, + }, + '#withDashboardSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, + withDashboardSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: value, + }, + }, + }, + }, + dashboardSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDashboardUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The UID of the dashboard on which to create the annotation.\nThe UID of the dashboard on which to create the annotation.' } }, + withDashboardUid(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardUid: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withPanelId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The ID of the dashboard panel on which to create the annotation.\nThe ID of the dashboard panel on which to create the annotation.' } }, + withPanelId(value): { + spec+: { + parameters+: { + initProvider+: { + panelId: value, + }, + }, + }, + }, + '#withTags': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The tags to associate with the annotation.\nThe tags to associate with the annotation.' } }, + withTags(value): { + spec+: { + parameters+: { + initProvider+: { + tags: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withTagsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The tags to associate with the annotation.\nThe tags to associate with the annotation.' } }, + withTagsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + tags+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The text to associate with the annotation.\nThe text to associate with the annotation.' } }, + withText(value): { + spec+: { + parameters+: { + initProvider+: { + text: value, + }, + }, + }, + }, + '#withTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "formatted time string indicating the annotation's time.\nThe RFC 3339-formatted time string indicating the annotation's time." } }, + withTime(value): { + spec+: { + parameters+: { + initProvider+: { + time: value, + }, + }, + }, + }, + '#withTimeEnd': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "formatted time string indicating the annotation's end time.\nThe RFC 3339-formatted time string indicating the annotation's end time." } }, + withTimeEnd(value): { + spec+: { + parameters+: { + initProvider+: { + timeEnd: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/annotation/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oss/v1alpha1/annotation/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/annotation/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dashboard/main.libsonnet b/grafanaplane/oss/v1alpha1/dashboard/main.libsonnet new file mode 100644 index 0000000..2cc37eb --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboard/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'dashboard' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'Dashboard', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/dashboard/metadata/main.libsonnet b/grafanaplane/oss/v1alpha1/dashboard/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboard/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dashboard/spec/compositionRef.libsonnet b/grafanaplane/oss/v1alpha1/dashboard/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboard/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dashboard/spec/compositionRevisionRef.libsonnet b/grafanaplane/oss/v1alpha1/dashboard/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboard/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dashboard/spec/compositionSelector.libsonnet b/grafanaplane/oss/v1alpha1/dashboard/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboard/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dashboard/spec/main.libsonnet b/grafanaplane/oss/v1alpha1/dashboard/spec/main.libsonnet new file mode 100644 index 0000000..8d67c96 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboard/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'DashboardSpec defines the desired state of Dashboard' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'DashboardSpec defines the desired state of Dashboard' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/dashboard/spec/parameters.libsonnet b/grafanaplane/oss/v1alpha1/dashboard/spec/parameters.libsonnet new file mode 100644 index 0000000..84273c5 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboard/spec/parameters.libsonnet @@ -0,0 +1,1303 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withConfigJson': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The complete dashboard model JSON.\nThe complete dashboard model JSON.' } }, + withConfigJson(value): { + spec+: { + parameters+: { + forProvider+: { + configJson: value, + }, + }, + }, + }, + '#withFolder': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The id or UID of the folder to save the dashboard in.\nThe id or UID of the folder to save the dashboard in.' } }, + withFolder(value): { + spec+: { + parameters+: { + forProvider+: { + folder: value, + }, + }, + }, + }, + '#withFolderRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folder.' } }, + withFolderRef(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef: value, + }, + }, + }, + }, + '#withFolderRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folder.' } }, + withFolderRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: value, + }, + }, + }, + }, + folderRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withFolderSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folder.' } }, + withFolderSelector(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector: value, + }, + }, + }, + }, + '#withFolderSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folder.' } }, + withFolderSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: value, + }, + }, + }, + }, + folderSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Set a commit message for the version history.\nSet a commit message for the version history.' } }, + withMessage(value): { + spec+: { + parameters+: { + forProvider+: { + message: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOverwrite': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Set to true if you want to overwrite existing dashboard with newer version, same dashboard title in folder or same dashboard uid.\nSet to true if you want to overwrite existing dashboard with newer version, same dashboard title in folder or same dashboard uid.' } }, + withOverwrite(value=true): { + spec+: { + parameters+: { + forProvider+: { + overwrite: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withConfigJson': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The complete dashboard model JSON.\nThe complete dashboard model JSON.' } }, + withConfigJson(value): { + spec+: { + parameters+: { + initProvider+: { + configJson: value, + }, + }, + }, + }, + '#withFolder': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The id or UID of the folder to save the dashboard in.\nThe id or UID of the folder to save the dashboard in.' } }, + withFolder(value): { + spec+: { + parameters+: { + initProvider+: { + folder: value, + }, + }, + }, + }, + '#withFolderRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folder.' } }, + withFolderRef(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef: value, + }, + }, + }, + }, + '#withFolderRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folder.' } }, + withFolderRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: value, + }, + }, + }, + }, + folderRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withFolderSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folder.' } }, + withFolderSelector(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector: value, + }, + }, + }, + }, + '#withFolderSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folder.' } }, + withFolderSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: value, + }, + }, + }, + }, + folderSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Set a commit message for the version history.\nSet a commit message for the version history.' } }, + withMessage(value): { + spec+: { + parameters+: { + initProvider+: { + message: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOverwrite': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Set to true if you want to overwrite existing dashboard with newer version, same dashboard title in folder or same dashboard uid.\nSet to true if you want to overwrite existing dashboard with newer version, same dashboard title in folder or same dashboard uid.' } }, + withOverwrite(value=true): { + spec+: { + parameters+: { + initProvider+: { + overwrite: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dashboard/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oss/v1alpha1/dashboard/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboard/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dashboardPermission/main.libsonnet b/grafanaplane/oss/v1alpha1/dashboardPermission/main.libsonnet new file mode 100644 index 0000000..b286dce --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboardPermission/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'dashboardPermission' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'DashboardPermission', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/dashboardPermission/metadata/main.libsonnet b/grafanaplane/oss/v1alpha1/dashboardPermission/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboardPermission/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dashboardPermission/spec/compositionRef.libsonnet b/grafanaplane/oss/v1alpha1/dashboardPermission/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboardPermission/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dashboardPermission/spec/compositionRevisionRef.libsonnet b/grafanaplane/oss/v1alpha1/dashboardPermission/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboardPermission/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dashboardPermission/spec/compositionSelector.libsonnet b/grafanaplane/oss/v1alpha1/dashboardPermission/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboardPermission/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dashboardPermission/spec/main.libsonnet b/grafanaplane/oss/v1alpha1/dashboardPermission/spec/main.libsonnet new file mode 100644 index 0000000..d9c5427 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboardPermission/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'DashboardPermissionSpec defines the desired state of DashboardPermission' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'DashboardPermissionSpec defines the desired state of DashboardPermission' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/dashboardPermission/spec/parameters.libsonnet b/grafanaplane/oss/v1alpha1/dashboardPermission/spec/parameters.libsonnet new file mode 100644 index 0000000..8949597 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboardPermission/spec/parameters.libsonnet @@ -0,0 +1,1767 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withDashboardRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, + withDashboardRef(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardRef: value, + }, + }, + }, + }, + '#withDashboardRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, + withDashboardRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardRef+: value, + }, + }, + }, + }, + dashboardRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + dashboardRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDashboardSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, + withDashboardSelector(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector: value, + }, + }, + }, + }, + '#withDashboardSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, + withDashboardSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: value, + }, + }, + }, + }, + dashboardSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDashboardUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) UID of the dashboard to apply permissions to.\nUID of the dashboard to apply permissions to.' } }, + withDashboardUid(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardUid: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withPermissions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, + withPermissions(value): { + spec+: { + parameters+: { + forProvider+: { + permissions: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPermissionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, + withPermissionsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + permissions+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + permissions+: + { + '#': { help: '', name: 'permissions' }, + '#withPermission': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Permission to associate with item. Must be one of View, Edit, or Admin.\nPermission to associate with item. Must be one of `View`, `Edit`, or `Admin`.' } }, + withPermission(value): { + permission: value, + }, + '#withRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`.' } }, + withRole(value): { + role: value, + }, + '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the team to manage permissions for. Defaults to 0.\nID of the team to manage permissions for. Defaults to `0`.' } }, + withTeamId(value): { + teamId: value, + }, + '#withTeamRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, + withTeamRef(value): { + teamRef: value, + }, + '#withTeamRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, + withTeamRefMixin(value): { + teamRef+: value, + }, + teamRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + teamRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + teamRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + teamRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + teamRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + teamRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, + withTeamSelector(value): { + teamSelector: value, + }, + '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, + withTeamSelectorMixin(value): { + teamSelector+: value, + }, + teamSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + teamSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + teamSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + teamSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + teamSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + teamSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + teamSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + teamSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withUserId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the user or service account to manage permissions for. Defaults to 0.\nID of the user or service account to manage permissions for. Defaults to `0`.' } }, + withUserId(value): { + userId: value, + }, + '#withUserRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, + withUserRef(value): { + userRef: value, + }, + '#withUserRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, + withUserRefMixin(value): { + userRef+: value, + }, + userRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + userRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + userRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + userRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + userRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + userRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withUserSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, + withUserSelector(value): { + userSelector: value, + }, + '#withUserSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, + withUserSelectorMixin(value): { + userSelector+: value, + }, + userSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + userSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + userSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + userSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + userSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + userSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + userSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + userSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withDashboardRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, + withDashboardRef(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardRef: value, + }, + }, + }, + }, + '#withDashboardRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, + withDashboardRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardRef+: value, + }, + }, + }, + }, + dashboardRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + dashboardRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDashboardSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, + withDashboardSelector(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector: value, + }, + }, + }, + }, + '#withDashboardSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, + withDashboardSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: value, + }, + }, + }, + }, + dashboardSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDashboardUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) UID of the dashboard to apply permissions to.\nUID of the dashboard to apply permissions to.' } }, + withDashboardUid(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardUid: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withPermissions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, + withPermissions(value): { + spec+: { + parameters+: { + initProvider+: { + permissions: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPermissionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, + withPermissionsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + permissions+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + permissions+: + { + '#': { help: '', name: 'permissions' }, + '#withPermission': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Permission to associate with item. Must be one of View, Edit, or Admin.\nPermission to associate with item. Must be one of `View`, `Edit`, or `Admin`.' } }, + withPermission(value): { + permission: value, + }, + '#withRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`.' } }, + withRole(value): { + role: value, + }, + '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the team to manage permissions for. Defaults to 0.\nID of the team to manage permissions for. Defaults to `0`.' } }, + withTeamId(value): { + teamId: value, + }, + '#withTeamRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, + withTeamRef(value): { + teamRef: value, + }, + '#withTeamRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, + withTeamRefMixin(value): { + teamRef+: value, + }, + teamRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + teamRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + teamRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + teamRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + teamRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + teamRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, + withTeamSelector(value): { + teamSelector: value, + }, + '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, + withTeamSelectorMixin(value): { + teamSelector+: value, + }, + teamSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + teamSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + teamSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + teamSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + teamSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + teamSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + teamSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + teamSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withUserId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the user or service account to manage permissions for. Defaults to 0.\nID of the user or service account to manage permissions for. Defaults to `0`.' } }, + withUserId(value): { + userId: value, + }, + '#withUserRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, + withUserRef(value): { + userRef: value, + }, + '#withUserRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, + withUserRefMixin(value): { + userRef+: value, + }, + userRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + userRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + userRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + userRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + userRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + userRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withUserSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, + withUserSelector(value): { + userSelector: value, + }, + '#withUserSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, + withUserSelectorMixin(value): { + userSelector+: value, + }, + userSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + userSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + userSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + userSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + userSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + userSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + userSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + userSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dashboardPermission/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oss/v1alpha1/dashboardPermission/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboardPermission/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dashboardPublic/main.libsonnet b/grafanaplane/oss/v1alpha1/dashboardPublic/main.libsonnet new file mode 100644 index 0000000..fba2677 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboardPublic/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'dashboardPublic' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'DashboardPublic', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/dashboardPublic/metadata/main.libsonnet b/grafanaplane/oss/v1alpha1/dashboardPublic/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboardPublic/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dashboardPublic/spec/compositionRef.libsonnet b/grafanaplane/oss/v1alpha1/dashboardPublic/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboardPublic/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dashboardPublic/spec/compositionRevisionRef.libsonnet b/grafanaplane/oss/v1alpha1/dashboardPublic/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboardPublic/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dashboardPublic/spec/compositionSelector.libsonnet b/grafanaplane/oss/v1alpha1/dashboardPublic/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboardPublic/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dashboardPublic/spec/main.libsonnet b/grafanaplane/oss/v1alpha1/dashboardPublic/spec/main.libsonnet new file mode 100644 index 0000000..7b370c0 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboardPublic/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'DashboardPublicSpec defines the desired state of DashboardPublic' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'DashboardPublicSpec defines the desired state of DashboardPublic' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/dashboardPublic/spec/parameters.libsonnet b/grafanaplane/oss/v1alpha1/dashboardPublic/spec/parameters.libsonnet new file mode 100644 index 0000000..20d570c --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboardPublic/spec/parameters.libsonnet @@ -0,0 +1,1363 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withAccessToken': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) A public unique identifier of a public dashboard. This is used to construct its URL. It's automatically generated if not provided when creating a public dashboard.\nA public unique identifier of a public dashboard. This is used to construct its URL. It's automatically generated if not provided when creating a public dashboard." } }, + withAccessToken(value): { + spec+: { + parameters+: { + forProvider+: { + accessToken: value, + }, + }, + }, + }, + '#withAnnotationsEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Set to true to show annotations. The default value is false.\nSet to `true` to show annotations. The default value is `false`.' } }, + withAnnotationsEnabled(value=true): { + spec+: { + parameters+: { + forProvider+: { + annotationsEnabled: value, + }, + }, + }, + }, + '#withDashboardRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, + withDashboardRef(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardRef: value, + }, + }, + }, + }, + '#withDashboardRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, + withDashboardRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardRef+: value, + }, + }, + }, + }, + dashboardRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + dashboardRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDashboardSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, + withDashboardSelector(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector: value, + }, + }, + }, + }, + '#withDashboardSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, + withDashboardSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: value, + }, + }, + }, + }, + dashboardSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDashboardUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The unique identifier of the original dashboard.\nThe unique identifier of the original dashboard.' } }, + withDashboardUid(value): { + spec+: { + parameters+: { + forProvider+: { + dashboardUid: value, + }, + }, + }, + }, + '#withIsEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Set to true to enable the public dashboard. The default value is false.\nSet to `true` to enable the public dashboard. The default value is `false`.' } }, + withIsEnabled(value=true): { + spec+: { + parameters+: { + forProvider+: { + isEnabled: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withShare': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Set the share mode. The default value is public.\nSet the share mode. The default value is `public`.' } }, + withShare(value): { + spec+: { + parameters+: { + forProvider+: { + share: value, + }, + }, + }, + }, + '#withTimeSelectionEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Set to true to enable the time picker in the public dashboard. The default value is false.\nSet to `true` to enable the time picker in the public dashboard. The default value is `false`.' } }, + withTimeSelectionEnabled(value=true): { + spec+: { + parameters+: { + forProvider+: { + timeSelectionEnabled: value, + }, + }, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The unique identifier of a public dashboard. It's automatically generated if not provided when creating a public dashboard.\nThe unique identifier of a public dashboard. It's automatically generated if not provided when creating a public dashboard." } }, + withUid(value): { + spec+: { + parameters+: { + forProvider+: { + uid: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withAccessToken': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) A public unique identifier of a public dashboard. This is used to construct its URL. It's automatically generated if not provided when creating a public dashboard.\nA public unique identifier of a public dashboard. This is used to construct its URL. It's automatically generated if not provided when creating a public dashboard." } }, + withAccessToken(value): { + spec+: { + parameters+: { + initProvider+: { + accessToken: value, + }, + }, + }, + }, + '#withAnnotationsEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Set to true to show annotations. The default value is false.\nSet to `true` to show annotations. The default value is `false`.' } }, + withAnnotationsEnabled(value=true): { + spec+: { + parameters+: { + initProvider+: { + annotationsEnabled: value, + }, + }, + }, + }, + '#withDashboardRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, + withDashboardRef(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardRef: value, + }, + }, + }, + }, + '#withDashboardRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, + withDashboardRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardRef+: value, + }, + }, + }, + }, + dashboardRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + dashboardRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDashboardSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, + withDashboardSelector(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector: value, + }, + }, + }, + }, + '#withDashboardSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, + withDashboardSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: value, + }, + }, + }, + }, + dashboardSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withDashboardUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The unique identifier of the original dashboard.\nThe unique identifier of the original dashboard.' } }, + withDashboardUid(value): { + spec+: { + parameters+: { + initProvider+: { + dashboardUid: value, + }, + }, + }, + }, + '#withIsEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Set to true to enable the public dashboard. The default value is false.\nSet to `true` to enable the public dashboard. The default value is `false`.' } }, + withIsEnabled(value=true): { + spec+: { + parameters+: { + initProvider+: { + isEnabled: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withShare': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Set the share mode. The default value is public.\nSet the share mode. The default value is `public`.' } }, + withShare(value): { + spec+: { + parameters+: { + initProvider+: { + share: value, + }, + }, + }, + }, + '#withTimeSelectionEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Set to true to enable the time picker in the public dashboard. The default value is false.\nSet to `true` to enable the time picker in the public dashboard. The default value is `false`.' } }, + withTimeSelectionEnabled(value=true): { + spec+: { + parameters+: { + initProvider+: { + timeSelectionEnabled: value, + }, + }, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The unique identifier of a public dashboard. It's automatically generated if not provided when creating a public dashboard.\nThe unique identifier of a public dashboard. It's automatically generated if not provided when creating a public dashboard." } }, + withUid(value): { + spec+: { + parameters+: { + initProvider+: { + uid: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dashboardPublic/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oss/v1alpha1/dashboardPublic/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dashboardPublic/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dataSource/main.libsonnet b/grafanaplane/oss/v1alpha1/dataSource/main.libsonnet new file mode 100644 index 0000000..17278f0 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dataSource/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'dataSource' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'DataSource', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/dataSource/metadata/main.libsonnet b/grafanaplane/oss/v1alpha1/dataSource/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dataSource/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dataSource/spec/compositionRef.libsonnet b/grafanaplane/oss/v1alpha1/dataSource/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dataSource/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dataSource/spec/compositionRevisionRef.libsonnet b/grafanaplane/oss/v1alpha1/dataSource/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dataSource/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dataSource/spec/compositionSelector.libsonnet b/grafanaplane/oss/v1alpha1/dataSource/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dataSource/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dataSource/spec/main.libsonnet b/grafanaplane/oss/v1alpha1/dataSource/spec/main.libsonnet new file mode 100644 index 0000000..4056abb --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dataSource/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'DataSourceSpec defines the desired state of DataSource' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'DataSourceSpec defines the desired state of DataSource' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/dataSource/spec/parameters.libsonnet b/grafanaplane/oss/v1alpha1/dataSource/spec/parameters.libsonnet new file mode 100644 index 0000000..20f8f8a --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dataSource/spec/parameters.libsonnet @@ -0,0 +1,1220 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withAccessMode': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The method by which Grafana will access the data source: proxy or direct. Defaults to proxy.\nThe method by which Grafana will access the data source: `proxy` or `direct`. Defaults to `proxy`.' } }, + withAccessMode(value): { + spec+: { + parameters+: { + forProvider+: { + accessMode: value, + }, + }, + }, + }, + '#withBasicAuthEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to enable basic auth for the data source. Defaults to false.\nWhether to enable basic auth for the data source. Defaults to `false`.' } }, + withBasicAuthEnabled(value=true): { + spec+: { + parameters+: { + forProvider+: { + basicAuthEnabled: value, + }, + }, + }, + }, + '#withBasicAuthUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Basic auth username. Defaults to “.\nBasic auth username. Defaults to “.' } }, + withBasicAuthUsername(value): { + spec+: { + parameters+: { + forProvider+: { + basicAuthUsername: value, + }, + }, + }, + }, + '#withDatabaseName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the database to use on the selected data source server. Defaults to “.\n(Required by some data source types) The name of the database to use on the selected data source server. Defaults to “.' } }, + withDatabaseName(value): { + spec+: { + parameters+: { + forProvider+: { + databaseName: value, + }, + }, + }, + }, + '#withHttpHeadersSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Custom HTTP headers\nCustom HTTP headers' } }, + withHttpHeadersSecretRef(value): { + spec+: { + parameters+: { + forProvider+: { + httpHeadersSecretRef: value, + }, + }, + }, + }, + '#withHttpHeadersSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Custom HTTP headers\nCustom HTTP headers' } }, + withHttpHeadersSecretRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + httpHeadersSecretRef+: value, + }, + }, + }, + }, + httpHeadersSecretRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + httpHeadersSecretRef+: { + name: value, + }, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + forProvider+: { + httpHeadersSecretRef+: { + namespace: value, + }, + }, + }, + }, + }, + }, + '#withIsDefault': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to set the data source as default. This should only be true to a single data source. Defaults to false.\nWhether to set the data source as default. This should only be `true` to a single data source. Defaults to `false`.' } }, + withIsDefault(value=true): { + spec+: { + parameters+: { + forProvider+: { + isDefault: value, + }, + }, + }, + }, + '#withJsonDataEncoded': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Serialized JSON string containing the json data. This attribute can be used to pass configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.\nSerialized JSON string containing the json data. This attribute can be used to pass configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.' } }, + withJsonDataEncoded(value): { + spec+: { + parameters+: { + forProvider+: { + jsonDataEncoded: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) A unique name for the data source.\nA unique name for the data source.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withSecureJsonDataEncodedSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Serialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.\nSerialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.' } }, + withSecureJsonDataEncodedSecretRef(value): { + spec+: { + parameters+: { + forProvider+: { + secureJsonDataEncodedSecretRef: value, + }, + }, + }, + }, + '#withSecureJsonDataEncodedSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Serialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.\nSerialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.' } }, + withSecureJsonDataEncodedSecretRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + secureJsonDataEncodedSecretRef+: value, + }, + }, + }, + }, + secureJsonDataEncodedSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + spec+: { + parameters+: { + forProvider+: { + secureJsonDataEncodedSecretRef+: { + key: value, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + secureJsonDataEncodedSecretRef+: { + name: value, + }, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + forProvider+: { + secureJsonDataEncodedSecretRef+: { + namespace: value, + }, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The data source type. Must be one of the supported data source keywords.\nThe data source type. Must be one of the supported data source keywords.' } }, + withType(value): { + spec+: { + parameters+: { + forProvider+: { + type: value, + }, + }, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Unique identifier. If unset, this will be automatically generated.\nUnique identifier. If unset, this will be automatically generated.' } }, + withUid(value): { + spec+: { + parameters+: { + forProvider+: { + uid: value, + }, + }, + }, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL for the data source. The type of URL required varies depending on the chosen data source type.\nThe URL for the data source. The type of URL required varies depending on the chosen data source type.' } }, + withUrl(value): { + spec+: { + parameters+: { + forProvider+: { + url: value, + }, + }, + }, + }, + '#withUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The username to use to authenticate to the data source. Defaults to “.\n(Required by some data source types) The username to use to authenticate to the data source. Defaults to “.' } }, + withUsername(value): { + spec+: { + parameters+: { + forProvider+: { + username: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withAccessMode': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The method by which Grafana will access the data source: proxy or direct. Defaults to proxy.\nThe method by which Grafana will access the data source: `proxy` or `direct`. Defaults to `proxy`.' } }, + withAccessMode(value): { + spec+: { + parameters+: { + initProvider+: { + accessMode: value, + }, + }, + }, + }, + '#withBasicAuthEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to enable basic auth for the data source. Defaults to false.\nWhether to enable basic auth for the data source. Defaults to `false`.' } }, + withBasicAuthEnabled(value=true): { + spec+: { + parameters+: { + initProvider+: { + basicAuthEnabled: value, + }, + }, + }, + }, + '#withBasicAuthUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Basic auth username. Defaults to “.\nBasic auth username. Defaults to “.' } }, + withBasicAuthUsername(value): { + spec+: { + parameters+: { + initProvider+: { + basicAuthUsername: value, + }, + }, + }, + }, + '#withDatabaseName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the database to use on the selected data source server. Defaults to “.\n(Required by some data source types) The name of the database to use on the selected data source server. Defaults to “.' } }, + withDatabaseName(value): { + spec+: { + parameters+: { + initProvider+: { + databaseName: value, + }, + }, + }, + }, + '#withHttpHeadersSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withHttpHeadersSecretRef(value): { + spec+: { + parameters+: { + initProvider+: { + httpHeadersSecretRef: value, + }, + }, + }, + }, + '#withHttpHeadersSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withHttpHeadersSecretRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + httpHeadersSecretRef+: value, + }, + }, + }, + }, + '#withIsDefault': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to set the data source as default. This should only be true to a single data source. Defaults to false.\nWhether to set the data source as default. This should only be `true` to a single data source. Defaults to `false`.' } }, + withIsDefault(value=true): { + spec+: { + parameters+: { + initProvider+: { + isDefault: value, + }, + }, + }, + }, + '#withJsonDataEncoded': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Serialized JSON string containing the json data. This attribute can be used to pass configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.\nSerialized JSON string containing the json data. This attribute can be used to pass configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.' } }, + withJsonDataEncoded(value): { + spec+: { + parameters+: { + initProvider+: { + jsonDataEncoded: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) A unique name for the data source.\nA unique name for the data source.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withSecureJsonDataEncodedSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Serialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.\nSerialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.' } }, + withSecureJsonDataEncodedSecretRef(value): { + spec+: { + parameters+: { + initProvider+: { + secureJsonDataEncodedSecretRef: value, + }, + }, + }, + }, + '#withSecureJsonDataEncodedSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Serialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.\nSerialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.' } }, + withSecureJsonDataEncodedSecretRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + secureJsonDataEncodedSecretRef+: value, + }, + }, + }, + }, + secureJsonDataEncodedSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + spec+: { + parameters+: { + initProvider+: { + secureJsonDataEncodedSecretRef+: { + key: value, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + secureJsonDataEncodedSecretRef+: { + name: value, + }, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + initProvider+: { + secureJsonDataEncodedSecretRef+: { + namespace: value, + }, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The data source type. Must be one of the supported data source keywords.\nThe data source type. Must be one of the supported data source keywords.' } }, + withType(value): { + spec+: { + parameters+: { + initProvider+: { + type: value, + }, + }, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Unique identifier. If unset, this will be automatically generated.\nUnique identifier. If unset, this will be automatically generated.' } }, + withUid(value): { + spec+: { + parameters+: { + initProvider+: { + uid: value, + }, + }, + }, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL for the data source. The type of URL required varies depending on the chosen data source type.\nThe URL for the data source. The type of URL required varies depending on the chosen data source type.' } }, + withUrl(value): { + spec+: { + parameters+: { + initProvider+: { + url: value, + }, + }, + }, + }, + '#withUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The username to use to authenticate to the data source. Defaults to “.\n(Required by some data source types) The username to use to authenticate to the data source. Defaults to “.' } }, + withUsername(value): { + spec+: { + parameters+: { + initProvider+: { + username: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/dataSource/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oss/v1alpha1/dataSource/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/dataSource/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/folder/main.libsonnet b/grafanaplane/oss/v1alpha1/folder/main.libsonnet new file mode 100644 index 0000000..9cbf4f2 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/folder/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'folder' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'Folder', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/folder/metadata/main.libsonnet b/grafanaplane/oss/v1alpha1/folder/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/folder/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/folder/spec/compositionRef.libsonnet b/grafanaplane/oss/v1alpha1/folder/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oss/v1alpha1/folder/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/folder/spec/compositionRevisionRef.libsonnet b/grafanaplane/oss/v1alpha1/folder/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/folder/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/folder/spec/compositionSelector.libsonnet b/grafanaplane/oss/v1alpha1/folder/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/folder/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/folder/spec/main.libsonnet b/grafanaplane/oss/v1alpha1/folder/spec/main.libsonnet new file mode 100644 index 0000000..9b75a5d --- /dev/null +++ b/grafanaplane/oss/v1alpha1/folder/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'FolderSpec defines the desired state of Folder' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'FolderSpec defines the desired state of Folder' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/folder/spec/parameters.libsonnet b/grafanaplane/oss/v1alpha1/folder/spec/parameters.libsonnet new file mode 100644 index 0000000..6ceba55 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/folder/spec/parameters.libsonnet @@ -0,0 +1,1303 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withFolderRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate parentFolderUid.' } }, + withFolderRef(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef: value, + }, + }, + }, + }, + '#withFolderRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate parentFolderUid.' } }, + withFolderRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: value, + }, + }, + }, + }, + folderRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withFolderSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate parentFolderUid.' } }, + withFolderSelector(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector: value, + }, + }, + }, + }, + '#withFolderSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate parentFolderUid.' } }, + withFolderSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: value, + }, + }, + }, + }, + folderSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withParentFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance.\nThe uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance.' } }, + withParentFolderUid(value): { + spec+: { + parameters+: { + forProvider+: { + parentFolderUid: value, + }, + }, + }, + }, + '#withPreventDestroyIfNotEmpty': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Prevent deletion of the folder if it is not empty (contains dashboards or alert rules). This feature requires Grafana 10.2 or later. Defaults to false.\nPrevent deletion of the folder if it is not empty (contains dashboards or alert rules). This feature requires Grafana 10.2 or later. Defaults to `false`.' } }, + withPreventDestroyIfNotEmpty(value=true): { + spec+: { + parameters+: { + forProvider+: { + preventDestroyIfNotEmpty: value, + }, + }, + }, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The title of the folder.\nThe title of the folder.' } }, + withTitle(value): { + spec+: { + parameters+: { + forProvider+: { + title: value, + }, + }, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Unique identifier.\nUnique identifier.' } }, + withUid(value): { + spec+: { + parameters+: { + forProvider+: { + uid: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withFolderRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate parentFolderUid.' } }, + withFolderRef(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef: value, + }, + }, + }, + }, + '#withFolderRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate parentFolderUid.' } }, + withFolderRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: value, + }, + }, + }, + }, + folderRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withFolderSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate parentFolderUid.' } }, + withFolderSelector(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector: value, + }, + }, + }, + }, + '#withFolderSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate parentFolderUid.' } }, + withFolderSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: value, + }, + }, + }, + }, + folderSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withParentFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance.\nThe uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance.' } }, + withParentFolderUid(value): { + spec+: { + parameters+: { + initProvider+: { + parentFolderUid: value, + }, + }, + }, + }, + '#withPreventDestroyIfNotEmpty': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Prevent deletion of the folder if it is not empty (contains dashboards or alert rules). This feature requires Grafana 10.2 or later. Defaults to false.\nPrevent deletion of the folder if it is not empty (contains dashboards or alert rules). This feature requires Grafana 10.2 or later. Defaults to `false`.' } }, + withPreventDestroyIfNotEmpty(value=true): { + spec+: { + parameters+: { + initProvider+: { + preventDestroyIfNotEmpty: value, + }, + }, + }, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The title of the folder.\nThe title of the folder.' } }, + withTitle(value): { + spec+: { + parameters+: { + initProvider+: { + title: value, + }, + }, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Unique identifier.\nUnique identifier.' } }, + withUid(value): { + spec+: { + parameters+: { + initProvider+: { + uid: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/folder/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oss/v1alpha1/folder/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/folder/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/folderPermission/main.libsonnet b/grafanaplane/oss/v1alpha1/folderPermission/main.libsonnet new file mode 100644 index 0000000..535f9af --- /dev/null +++ b/grafanaplane/oss/v1alpha1/folderPermission/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'folderPermission' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'FolderPermission', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/folderPermission/metadata/main.libsonnet b/grafanaplane/oss/v1alpha1/folderPermission/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/folderPermission/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/folderPermission/spec/compositionRef.libsonnet b/grafanaplane/oss/v1alpha1/folderPermission/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oss/v1alpha1/folderPermission/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/folderPermission/spec/compositionRevisionRef.libsonnet b/grafanaplane/oss/v1alpha1/folderPermission/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/folderPermission/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/folderPermission/spec/compositionSelector.libsonnet b/grafanaplane/oss/v1alpha1/folderPermission/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/folderPermission/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/folderPermission/spec/main.libsonnet b/grafanaplane/oss/v1alpha1/folderPermission/spec/main.libsonnet new file mode 100644 index 0000000..5a41876 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/folderPermission/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'FolderPermissionSpec defines the desired state of FolderPermission' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'FolderPermissionSpec defines the desired state of FolderPermission' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/folderPermission/spec/parameters.libsonnet b/grafanaplane/oss/v1alpha1/folderPermission/spec/parameters.libsonnet new file mode 100644 index 0000000..160b2f1 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/folderPermission/spec/parameters.libsonnet @@ -0,0 +1,1767 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withFolderRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, + withFolderRef(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef: value, + }, + }, + }, + }, + '#withFolderRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, + withFolderRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: value, + }, + }, + }, + }, + folderRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withFolderSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, + withFolderSelector(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector: value, + }, + }, + }, + }, + '#withFolderSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, + withFolderSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: value, + }, + }, + }, + }, + folderSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The UID of the folder.\nThe UID of the folder.' } }, + withFolderUid(value): { + spec+: { + parameters+: { + forProvider+: { + folderUid: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withPermissions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, + withPermissions(value): { + spec+: { + parameters+: { + forProvider+: { + permissions: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPermissionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, + withPermissionsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + permissions+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + permissions+: + { + '#': { help: '', name: 'permissions' }, + '#withPermission': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Permission to associate with item. Must be one of View, Edit, or Admin.\nPermission to associate with item. Must be one of `View`, `Edit`, or `Admin`.' } }, + withPermission(value): { + permission: value, + }, + '#withRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`.' } }, + withRole(value): { + role: value, + }, + '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the team to manage permissions for. Defaults to 0.\nID of the team to manage permissions for. Defaults to `0`.' } }, + withTeamId(value): { + teamId: value, + }, + '#withTeamRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, + withTeamRef(value): { + teamRef: value, + }, + '#withTeamRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, + withTeamRefMixin(value): { + teamRef+: value, + }, + teamRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + teamRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + teamRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + teamRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + teamRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + teamRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, + withTeamSelector(value): { + teamSelector: value, + }, + '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, + withTeamSelectorMixin(value): { + teamSelector+: value, + }, + teamSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + teamSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + teamSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + teamSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + teamSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + teamSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + teamSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + teamSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withUserId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the user or service account to manage permissions for. Defaults to 0.\nID of the user or service account to manage permissions for. Defaults to `0`.' } }, + withUserId(value): { + userId: value, + }, + '#withUserRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, + withUserRef(value): { + userRef: value, + }, + '#withUserRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, + withUserRefMixin(value): { + userRef+: value, + }, + userRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + userRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + userRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + userRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + userRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + userRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withUserSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, + withUserSelector(value): { + userSelector: value, + }, + '#withUserSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, + withUserSelectorMixin(value): { + userSelector+: value, + }, + userSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + userSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + userSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + userSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + userSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + userSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + userSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + userSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withFolderRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, + withFolderRef(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef: value, + }, + }, + }, + }, + '#withFolderRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, + withFolderRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: value, + }, + }, + }, + }, + folderRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withFolderSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, + withFolderSelector(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector: value, + }, + }, + }, + }, + '#withFolderSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, + withFolderSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: value, + }, + }, + }, + }, + folderSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The UID of the folder.\nThe UID of the folder.' } }, + withFolderUid(value): { + spec+: { + parameters+: { + initProvider+: { + folderUid: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withPermissions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, + withPermissions(value): { + spec+: { + parameters+: { + initProvider+: { + permissions: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPermissionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, + withPermissionsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + permissions+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + permissions+: + { + '#': { help: '', name: 'permissions' }, + '#withPermission': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Permission to associate with item. Must be one of View, Edit, or Admin.\nPermission to associate with item. Must be one of `View`, `Edit`, or `Admin`.' } }, + withPermission(value): { + permission: value, + }, + '#withRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`.' } }, + withRole(value): { + role: value, + }, + '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the team to manage permissions for. Defaults to 0.\nID of the team to manage permissions for. Defaults to `0`.' } }, + withTeamId(value): { + teamId: value, + }, + '#withTeamRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, + withTeamRef(value): { + teamRef: value, + }, + '#withTeamRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, + withTeamRefMixin(value): { + teamRef+: value, + }, + teamRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + teamRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + teamRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + teamRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + teamRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + teamRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, + withTeamSelector(value): { + teamSelector: value, + }, + '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, + withTeamSelectorMixin(value): { + teamSelector+: value, + }, + teamSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + teamSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + teamSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + teamSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + teamSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + teamSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + teamSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + teamSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withUserId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the user or service account to manage permissions for. Defaults to 0.\nID of the user or service account to manage permissions for. Defaults to `0`.' } }, + withUserId(value): { + userId: value, + }, + '#withUserRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, + withUserRef(value): { + userRef: value, + }, + '#withUserRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, + withUserRefMixin(value): { + userRef+: value, + }, + userRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + userRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + userRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + userRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + userRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + userRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withUserSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, + withUserSelector(value): { + userSelector: value, + }, + '#withUserSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, + withUserSelectorMixin(value): { + userSelector+: value, + }, + userSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + userSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + userSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + userSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + userSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + userSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + userSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + userSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/folderPermission/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oss/v1alpha1/folderPermission/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/folderPermission/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/libraryPanel/main.libsonnet b/grafanaplane/oss/v1alpha1/libraryPanel/main.libsonnet new file mode 100644 index 0000000..214a0eb --- /dev/null +++ b/grafanaplane/oss/v1alpha1/libraryPanel/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'libraryPanel' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'LibraryPanel', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/libraryPanel/metadata/main.libsonnet b/grafanaplane/oss/v1alpha1/libraryPanel/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/libraryPanel/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/libraryPanel/spec/compositionRef.libsonnet b/grafanaplane/oss/v1alpha1/libraryPanel/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oss/v1alpha1/libraryPanel/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/libraryPanel/spec/compositionRevisionRef.libsonnet b/grafanaplane/oss/v1alpha1/libraryPanel/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/libraryPanel/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/libraryPanel/spec/compositionSelector.libsonnet b/grafanaplane/oss/v1alpha1/libraryPanel/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/libraryPanel/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/libraryPanel/spec/main.libsonnet b/grafanaplane/oss/v1alpha1/libraryPanel/spec/main.libsonnet new file mode 100644 index 0000000..a784948 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/libraryPanel/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'LibraryPanelSpec defines the desired state of LibraryPanel' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'LibraryPanelSpec defines the desired state of LibraryPanel' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/libraryPanel/spec/parameters.libsonnet b/grafanaplane/oss/v1alpha1/libraryPanel/spec/parameters.libsonnet new file mode 100644 index 0000000..179f4f5 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/libraryPanel/spec/parameters.libsonnet @@ -0,0 +1,1303 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withFolderRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, + withFolderRef(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef: value, + }, + }, + }, + }, + '#withFolderRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, + withFolderRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: value, + }, + }, + }, + }, + folderRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + folderRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withFolderSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, + withFolderSelector(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector: value, + }, + }, + }, + }, + '#withFolderSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, + withFolderSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: value, + }, + }, + }, + }, + folderSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + folderSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Unique ID (UID) of the folder containing the library panel.\nUnique ID (UID) of the folder containing the library panel.' } }, + withFolderUid(value): { + spec+: { + parameters+: { + forProvider+: { + folderUid: value, + }, + }, + }, + }, + '#withModelJson': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The JSON model for the library panel.\nThe JSON model for the library panel.' } }, + withModelJson(value): { + spec+: { + parameters+: { + forProvider+: { + modelJson: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the library panel.\nName of the library panel.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The unique identifier (UID) of a library panel uniquely identifies library panels between multiple Grafana installs. It’s automatically generated unless you specify it during library panel creation.The UID provides consistent URLs for accessing library panels and when syncing library panels between multiple Grafana installs.\nThe unique identifier (UID) of a library panel uniquely identifies library panels between multiple Grafana installs. It’s automatically generated unless you specify it during library panel creation.The UID provides consistent URLs for accessing library panels and when syncing library panels between multiple Grafana installs.' } }, + withUid(value): { + spec+: { + parameters+: { + forProvider+: { + uid: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withFolderRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, + withFolderRef(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef: value, + }, + }, + }, + }, + '#withFolderRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, + withFolderRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: value, + }, + }, + }, + }, + folderRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + folderRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withFolderSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, + withFolderSelector(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector: value, + }, + }, + }, + }, + '#withFolderSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, + withFolderSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: value, + }, + }, + }, + }, + folderSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + folderSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Unique ID (UID) of the folder containing the library panel.\nUnique ID (UID) of the folder containing the library panel.' } }, + withFolderUid(value): { + spec+: { + parameters+: { + initProvider+: { + folderUid: value, + }, + }, + }, + }, + '#withModelJson': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The JSON model for the library panel.\nThe JSON model for the library panel.' } }, + withModelJson(value): { + spec+: { + parameters+: { + initProvider+: { + modelJson: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the library panel.\nName of the library panel.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The unique identifier (UID) of a library panel uniquely identifies library panels between multiple Grafana installs. It’s automatically generated unless you specify it during library panel creation.The UID provides consistent URLs for accessing library panels and when syncing library panels between multiple Grafana installs.\nThe unique identifier (UID) of a library panel uniquely identifies library panels between multiple Grafana installs. It’s automatically generated unless you specify it during library panel creation.The UID provides consistent URLs for accessing library panels and when syncing library panels between multiple Grafana installs.' } }, + withUid(value): { + spec+: { + parameters+: { + initProvider+: { + uid: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/libraryPanel/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oss/v1alpha1/libraryPanel/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/libraryPanel/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/main.libsonnet b/grafanaplane/oss/v1alpha1/main.libsonnet new file mode 100644 index 0000000..396f003 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/main.libsonnet @@ -0,0 +1,19 @@ +{ + annotation+: import './annotation/main.libsonnet', + dashboardPermission+: import './dashboardPermission/main.libsonnet', + dashboardPublic+: import './dashboardPublic/main.libsonnet', + dashboard+: import './dashboard/main.libsonnet', + dataSource+: import './dataSource/main.libsonnet', + folderPermission+: import './folderPermission/main.libsonnet', + folder+: import './folder/main.libsonnet', + libraryPanel+: import './libraryPanel/main.libsonnet', + organizationPreferences+: import './organizationPreferences/main.libsonnet', + organization+: import './organization/main.libsonnet', + playlist+: import './playlist/main.libsonnet', + serviceAccountPermission+: import './serviceAccountPermission/main.libsonnet', + serviceAccount+: import './serviceAccount/main.libsonnet', + serviceAccountToken+: import './serviceAccountToken/main.libsonnet', + ssoSettings+: import './ssoSettings/main.libsonnet', + team+: import './team/main.libsonnet', + user+: import './user/main.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/organization/main.libsonnet b/grafanaplane/oss/v1alpha1/organization/main.libsonnet new file mode 100644 index 0000000..bbe9c4d --- /dev/null +++ b/grafanaplane/oss/v1alpha1/organization/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'organization' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'Organization', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/organization/metadata/main.libsonnet b/grafanaplane/oss/v1alpha1/organization/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/organization/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/organization/spec/compositionRef.libsonnet b/grafanaplane/oss/v1alpha1/organization/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oss/v1alpha1/organization/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/organization/spec/compositionRevisionRef.libsonnet b/grafanaplane/oss/v1alpha1/organization/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/organization/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/organization/spec/compositionSelector.libsonnet b/grafanaplane/oss/v1alpha1/organization/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/organization/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/organization/spec/main.libsonnet b/grafanaplane/oss/v1alpha1/organization/spec/main.libsonnet new file mode 100644 index 0000000..c2b3520 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/organization/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'OrganizationSpec defines the desired state of Organization' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'OrganizationSpec defines the desired state of Organization' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/organization/spec/parameters.libsonnet b/grafanaplane/oss/v1alpha1/organization/spec/parameters.libsonnet new file mode 100644 index 0000000..bf541e5 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/organization/spec/parameters.libsonnet @@ -0,0 +1,655 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withAdminUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The login name of the configured default admin user for the Grafana\ninstallation. If unset, this value defaults to admin, the Grafana default.\nDefaults to admin.\nThe login name of the configured default admin user for the Grafana\ninstallation. If unset, this value defaults to admin, the Grafana default.\nDefaults to `admin`.' } }, + withAdminUser(value): { + spec+: { + parameters+: { + forProvider+: { + adminUser: value, + }, + }, + }, + }, + '#withAdmins': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given admin\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given admin\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, + withAdmins(value): { + spec+: { + parameters+: { + forProvider+: { + admins: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withAdminsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given admin\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given admin\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, + withAdminsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + admins+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withCreateUsers': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether or not to create Grafana users specified in the organization's\nmembership if they don't already exist in Grafana. If unspecified, this\nparameter defaults to true, creating placeholder users with the name, login,\nand email set to the email of the user, and a random password. Setting this\noption to false will cause an error to be thrown for any users that do not\nalready exist in Grafana.\nDefaults to true.\nWhether or not to create Grafana users specified in the organization's\nmembership if they don't already exist in Grafana. If unspecified, this\nparameter defaults to true, creating placeholder users with the name, login,\nand email set to the email of the user, and a random password. Setting this\noption to false will cause an error to be thrown for any users that do not\nalready exist in Grafana.\nDefaults to `true`." } }, + withCreateUsers(value=true): { + spec+: { + parameters+: { + forProvider+: { + createUsers: value, + }, + }, + }, + }, + '#withEditors': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given editor\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given editor\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, + withEditors(value): { + spec+: { + parameters+: { + forProvider+: { + editors: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withEditorsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given editor\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given editor\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, + withEditorsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + editors+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The display name for the Grafana organization created.\nThe display name for the Grafana organization created.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withUsersWithoutAccess': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given none access to the organization.\nNote: users specified here must already exist in Grafana, unless 'create_users' is\nset to true. This feature is only available in Grafana 10.2+.\nA list of email addresses corresponding to users who should be given none access to the organization.\nNote: users specified here must already exist in Grafana, unless 'create_users' is\nset to true. This feature is only available in Grafana 10.2+." } }, + withUsersWithoutAccess(value): { + spec+: { + parameters+: { + forProvider+: { + usersWithoutAccess: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withUsersWithoutAccessMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given none access to the organization.\nNote: users specified here must already exist in Grafana, unless 'create_users' is\nset to true. This feature is only available in Grafana 10.2+.\nA list of email addresses corresponding to users who should be given none access to the organization.\nNote: users specified here must already exist in Grafana, unless 'create_users' is\nset to true. This feature is only available in Grafana 10.2+." } }, + withUsersWithoutAccessMixin(value): { + spec+: { + parameters+: { + forProvider+: { + usersWithoutAccess+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withViewers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given viewer\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given viewer\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, + withViewers(value): { + spec+: { + parameters+: { + forProvider+: { + viewers: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withViewersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given viewer\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given viewer\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, + withViewersMixin(value): { + spec+: { + parameters+: { + forProvider+: { + viewers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withAdminUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The login name of the configured default admin user for the Grafana\ninstallation. If unset, this value defaults to admin, the Grafana default.\nDefaults to admin.\nThe login name of the configured default admin user for the Grafana\ninstallation. If unset, this value defaults to admin, the Grafana default.\nDefaults to `admin`.' } }, + withAdminUser(value): { + spec+: { + parameters+: { + initProvider+: { + adminUser: value, + }, + }, + }, + }, + '#withAdmins': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given admin\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given admin\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, + withAdmins(value): { + spec+: { + parameters+: { + initProvider+: { + admins: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withAdminsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given admin\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given admin\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, + withAdminsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + admins+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withCreateUsers': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether or not to create Grafana users specified in the organization's\nmembership if they don't already exist in Grafana. If unspecified, this\nparameter defaults to true, creating placeholder users with the name, login,\nand email set to the email of the user, and a random password. Setting this\noption to false will cause an error to be thrown for any users that do not\nalready exist in Grafana.\nDefaults to true.\nWhether or not to create Grafana users specified in the organization's\nmembership if they don't already exist in Grafana. If unspecified, this\nparameter defaults to true, creating placeholder users with the name, login,\nand email set to the email of the user, and a random password. Setting this\noption to false will cause an error to be thrown for any users that do not\nalready exist in Grafana.\nDefaults to `true`." } }, + withCreateUsers(value=true): { + spec+: { + parameters+: { + initProvider+: { + createUsers: value, + }, + }, + }, + }, + '#withEditors': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given editor\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given editor\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, + withEditors(value): { + spec+: { + parameters+: { + initProvider+: { + editors: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withEditorsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given editor\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given editor\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, + withEditorsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + editors+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The display name for the Grafana organization created.\nThe display name for the Grafana organization created.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withUsersWithoutAccess': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given none access to the organization.\nNote: users specified here must already exist in Grafana, unless 'create_users' is\nset to true. This feature is only available in Grafana 10.2+.\nA list of email addresses corresponding to users who should be given none access to the organization.\nNote: users specified here must already exist in Grafana, unless 'create_users' is\nset to true. This feature is only available in Grafana 10.2+." } }, + withUsersWithoutAccess(value): { + spec+: { + parameters+: { + initProvider+: { + usersWithoutAccess: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withUsersWithoutAccessMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given none access to the organization.\nNote: users specified here must already exist in Grafana, unless 'create_users' is\nset to true. This feature is only available in Grafana 10.2+.\nA list of email addresses corresponding to users who should be given none access to the organization.\nNote: users specified here must already exist in Grafana, unless 'create_users' is\nset to true. This feature is only available in Grafana 10.2+." } }, + withUsersWithoutAccessMixin(value): { + spec+: { + parameters+: { + initProvider+: { + usersWithoutAccess+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withViewers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given viewer\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given viewer\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, + withViewers(value): { + spec+: { + parameters+: { + initProvider+: { + viewers: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withViewersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given viewer\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given viewer\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, + withViewersMixin(value): { + spec+: { + parameters+: { + initProvider+: { + viewers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/organization/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oss/v1alpha1/organization/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/organization/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/organizationPreferences/main.libsonnet b/grafanaplane/oss/v1alpha1/organizationPreferences/main.libsonnet new file mode 100644 index 0000000..365c6c5 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/organizationPreferences/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'organizationPreferences' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'OrganizationPreferences', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/organizationPreferences/metadata/main.libsonnet b/grafanaplane/oss/v1alpha1/organizationPreferences/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/organizationPreferences/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/organizationPreferences/spec/compositionRef.libsonnet b/grafanaplane/oss/v1alpha1/organizationPreferences/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oss/v1alpha1/organizationPreferences/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/organizationPreferences/spec/compositionRevisionRef.libsonnet b/grafanaplane/oss/v1alpha1/organizationPreferences/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/organizationPreferences/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/organizationPreferences/spec/compositionSelector.libsonnet b/grafanaplane/oss/v1alpha1/organizationPreferences/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/organizationPreferences/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/organizationPreferences/spec/main.libsonnet b/grafanaplane/oss/v1alpha1/organizationPreferences/spec/main.libsonnet new file mode 100644 index 0000000..154e8fb --- /dev/null +++ b/grafanaplane/oss/v1alpha1/organizationPreferences/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'OrganizationPreferencesSpec defines the desired state of OrganizationPreferences' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'OrganizationPreferencesSpec defines the desired state of OrganizationPreferences' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/organizationPreferences/spec/parameters.libsonnet b/grafanaplane/oss/v1alpha1/organizationPreferences/spec/parameters.libsonnet new file mode 100644 index 0000000..b2864a5 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/organizationPreferences/spec/parameters.libsonnet @@ -0,0 +1,895 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withHomeDashboardUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization home dashboard UID. This is only available in Grafana 9.0+.\nThe Organization home dashboard UID. This is only available in Grafana 9.0+.' } }, + withHomeDashboardUid(value): { + spec+: { + parameters+: { + forProvider+: { + homeDashboardUid: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withTheme': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization theme. Available values are light, dark, system, or an empty string for the default.\nThe Organization theme. Available values are `light`, `dark`, `system`, or an empty string for the default.' } }, + withTheme(value): { + spec+: { + parameters+: { + forProvider+: { + theme: value, + }, + }, + }, + }, + '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization timezone. Available values are utc, browser, or an empty string for the default.\nThe Organization timezone. Available values are `utc`, `browser`, or an empty string for the default.' } }, + withTimezone(value): { + spec+: { + parameters+: { + forProvider+: { + timezone: value, + }, + }, + }, + }, + '#withWeekStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization week start day. Available values are sunday, monday, saturday, or an empty string for the default. Defaults to “.\nThe Organization week start day. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default. Defaults to “.' } }, + withWeekStart(value): { + spec+: { + parameters+: { + forProvider+: { + weekStart: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withHomeDashboardUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization home dashboard UID. This is only available in Grafana 9.0+.\nThe Organization home dashboard UID. This is only available in Grafana 9.0+.' } }, + withHomeDashboardUid(value): { + spec+: { + parameters+: { + initProvider+: { + homeDashboardUid: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withTheme': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization theme. Available values are light, dark, system, or an empty string for the default.\nThe Organization theme. Available values are `light`, `dark`, `system`, or an empty string for the default.' } }, + withTheme(value): { + spec+: { + parameters+: { + initProvider+: { + theme: value, + }, + }, + }, + }, + '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization timezone. Available values are utc, browser, or an empty string for the default.\nThe Organization timezone. Available values are `utc`, `browser`, or an empty string for the default.' } }, + withTimezone(value): { + spec+: { + parameters+: { + initProvider+: { + timezone: value, + }, + }, + }, + }, + '#withWeekStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization week start day. Available values are sunday, monday, saturday, or an empty string for the default. Defaults to “.\nThe Organization week start day. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default. Defaults to “.' } }, + withWeekStart(value): { + spec+: { + parameters+: { + initProvider+: { + weekStart: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/organizationPreferences/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oss/v1alpha1/organizationPreferences/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/organizationPreferences/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/playlist/main.libsonnet b/grafanaplane/oss/v1alpha1/playlist/main.libsonnet new file mode 100644 index 0000000..a806858 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/playlist/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'playlist' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'Playlist', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/playlist/metadata/main.libsonnet b/grafanaplane/oss/v1alpha1/playlist/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/playlist/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/playlist/spec/compositionRef.libsonnet b/grafanaplane/oss/v1alpha1/playlist/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oss/v1alpha1/playlist/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/playlist/spec/compositionRevisionRef.libsonnet b/grafanaplane/oss/v1alpha1/playlist/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/playlist/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/playlist/spec/compositionSelector.libsonnet b/grafanaplane/oss/v1alpha1/playlist/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/playlist/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/playlist/spec/main.libsonnet b/grafanaplane/oss/v1alpha1/playlist/spec/main.libsonnet new file mode 100644 index 0000000..c6992bd --- /dev/null +++ b/grafanaplane/oss/v1alpha1/playlist/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PlaylistSpec defines the desired state of Playlist' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PlaylistSpec defines the desired state of Playlist' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/playlist/spec/parameters.libsonnet b/grafanaplane/oss/v1alpha1/playlist/spec/parameters.libsonnet new file mode 100644 index 0000000..3fa6216 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/playlist/spec/parameters.libsonnet @@ -0,0 +1,947 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withInterval(value): { + spec+: { + parameters+: { + forProvider+: { + interval: value, + }, + }, + }, + }, + '#withItem': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1) (see below for nested schema)' } }, + withItem(value): { + spec+: { + parameters+: { + forProvider+: { + item: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withItemMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1) (see below for nested schema)' } }, + withItemMixin(value): { + spec+: { + parameters+: { + forProvider+: { + item+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + item+: + { + '#': { help: '', name: 'item' }, + '#withOrder': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number)' } }, + withOrder(value): { + order: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withTitle(value): { + title: value, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withType(value): { + type: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withValue(value): { + value: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the playlist.\nThe name of the playlist.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withInterval(value): { + spec+: { + parameters+: { + initProvider+: { + interval: value, + }, + }, + }, + }, + '#withItem': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1) (see below for nested schema)' } }, + withItem(value): { + spec+: { + parameters+: { + initProvider+: { + item: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withItemMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1) (see below for nested schema)' } }, + withItemMixin(value): { + spec+: { + parameters+: { + initProvider+: { + item+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + item+: + { + '#': { help: '', name: 'item' }, + '#withOrder': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number)' } }, + withOrder(value): { + order: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withTitle(value): { + title: value, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withType(value): { + type: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withValue(value): { + value: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the playlist.\nThe name of the playlist.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/playlist/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oss/v1alpha1/playlist/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/playlist/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccount/main.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccount/main.libsonnet new file mode 100644 index 0000000..09c3c61 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccount/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'serviceAccount' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'ServiceAccount', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccount/metadata/main.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccount/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccount/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccount/spec/compositionRef.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccount/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccount/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccount/spec/compositionRevisionRef.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccount/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccount/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccount/spec/compositionSelector.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccount/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccount/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccount/spec/main.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccount/spec/main.libsonnet new file mode 100644 index 0000000..635d4af --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccount/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ServiceAccountSpec defines the desired state of ServiceAccount' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ServiceAccountSpec defines the desired state of ServiceAccount' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccount/spec/parameters.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccount/spec/parameters.libsonnet new file mode 100644 index 0000000..5813cca --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccount/spec/parameters.libsonnet @@ -0,0 +1,875 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withIsDisabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) The disabled status for the service account. Defaults to false.\nThe disabled status for the service account. Defaults to `false`.' } }, + withIsDisabled(value=true): { + spec+: { + parameters+: { + forProvider+: { + isDisabled: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the service account.\nThe name of the service account.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The basic role of the service account in the organization.\nThe basic role of the service account in the organization.' } }, + withRole(value): { + spec+: { + parameters+: { + forProvider+: { + role: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withIsDisabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) The disabled status for the service account. Defaults to false.\nThe disabled status for the service account. Defaults to `false`.' } }, + withIsDisabled(value=true): { + spec+: { + parameters+: { + initProvider+: { + isDisabled: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the service account.\nThe name of the service account.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The basic role of the service account in the organization.\nThe basic role of the service account in the organization.' } }, + withRole(value): { + spec+: { + parameters+: { + initProvider+: { + role: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccount/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccount/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccount/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccountPermission/main.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccountPermission/main.libsonnet new file mode 100644 index 0000000..189e88f --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccountPermission/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'serviceAccountPermission' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'ServiceAccountPermission', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccountPermission/metadata/main.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccountPermission/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccountPermission/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccountPermission/spec/compositionRef.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccountPermission/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccountPermission/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccountPermission/spec/compositionRevisionRef.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccountPermission/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccountPermission/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccountPermission/spec/compositionSelector.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccountPermission/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccountPermission/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccountPermission/spec/main.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccountPermission/spec/main.libsonnet new file mode 100644 index 0000000..36c4954 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccountPermission/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ServiceAccountPermissionSpec defines the desired state of ServiceAccountPermission' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ServiceAccountPermissionSpec defines the desired state of ServiceAccountPermission' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccountPermission/spec/parameters.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccountPermission/spec/parameters.libsonnet new file mode 100644 index 0000000..0cdade1 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccountPermission/spec/parameters.libsonnet @@ -0,0 +1,1759 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withPermissions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, + withPermissions(value): { + spec+: { + parameters+: { + forProvider+: { + permissions: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPermissionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, + withPermissionsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + permissions+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + permissions+: + { + '#': { help: '', name: 'permissions' }, + '#withPermission': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Permission to associate with item. Must be one of View, Edit, or Admin.\nPermission to associate with item. Must be one of `View`, `Edit`, or `Admin`.' } }, + withPermission(value): { + permission: value, + }, + '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the team to manage permissions for. Defaults to 0.\nID of the team to manage permissions for. Defaults to `0`.' } }, + withTeamId(value): { + teamId: value, + }, + '#withTeamRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, + withTeamRef(value): { + teamRef: value, + }, + '#withTeamRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, + withTeamRefMixin(value): { + teamRef+: value, + }, + teamRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + teamRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + teamRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + teamRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + teamRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + teamRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, + withTeamSelector(value): { + teamSelector: value, + }, + '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, + withTeamSelectorMixin(value): { + teamSelector+: value, + }, + teamSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + teamSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + teamSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + teamSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + teamSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + teamSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + teamSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + teamSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withUserId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the user or service account to manage permissions for. Defaults to 0.\nID of the user or service account to manage permissions for. Defaults to `0`.' } }, + withUserId(value): { + userId: value, + }, + '#withUserRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, + withUserRef(value): { + userRef: value, + }, + '#withUserRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, + withUserRefMixin(value): { + userRef+: value, + }, + userRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + userRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + userRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + userRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + userRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + userRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withUserSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, + withUserSelector(value): { + userSelector: value, + }, + '#withUserSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, + withUserSelectorMixin(value): { + userSelector+: value, + }, + userSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + userSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + userSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + userSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + userSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + userSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + userSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + userSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + '#withServiceAccountId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The id of the service account.\nThe id of the service account.' } }, + withServiceAccountId(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountId: value, + }, + }, + }, + }, + '#withServiceAccountRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ServiceAccount in oss to populate serviceAccountId.' } }, + withServiceAccountRef(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRef: value, + }, + }, + }, + }, + '#withServiceAccountRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ServiceAccount in oss to populate serviceAccountId.' } }, + withServiceAccountRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRef+: value, + }, + }, + }, + }, + serviceAccountRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withServiceAccountSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ServiceAccount in oss to populate serviceAccountId.' } }, + withServiceAccountSelector(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector: value, + }, + }, + }, + }, + '#withServiceAccountSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ServiceAccount in oss to populate serviceAccountId.' } }, + withServiceAccountSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: value, + }, + }, + }, + }, + serviceAccountSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withPermissions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, + withPermissions(value): { + spec+: { + parameters+: { + initProvider+: { + permissions: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPermissionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, + withPermissionsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + permissions+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + permissions+: + { + '#': { help: '', name: 'permissions' }, + '#withPermission': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Permission to associate with item. Must be one of View, Edit, or Admin.\nPermission to associate with item. Must be one of `View`, `Edit`, or `Admin`.' } }, + withPermission(value): { + permission: value, + }, + '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the team to manage permissions for. Defaults to 0.\nID of the team to manage permissions for. Defaults to `0`.' } }, + withTeamId(value): { + teamId: value, + }, + '#withTeamRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, + withTeamRef(value): { + teamRef: value, + }, + '#withTeamRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, + withTeamRefMixin(value): { + teamRef+: value, + }, + teamRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + teamRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + teamRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + teamRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + teamRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + teamRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, + withTeamSelector(value): { + teamSelector: value, + }, + '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, + withTeamSelectorMixin(value): { + teamSelector+: value, + }, + teamSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + teamSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + teamSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + teamSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + teamSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + teamSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + teamSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + teamSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withUserId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the user or service account to manage permissions for. Defaults to 0.\nID of the user or service account to manage permissions for. Defaults to `0`.' } }, + withUserId(value): { + userId: value, + }, + '#withUserRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, + withUserRef(value): { + userRef: value, + }, + '#withUserRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, + withUserRefMixin(value): { + userRef+: value, + }, + userRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + userRef+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + userRef+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + userRef+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + userRef+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + userRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withUserSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, + withUserSelector(value): { + userSelector: value, + }, + '#withUserSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, + withUserSelectorMixin(value): { + userSelector+: value, + }, + userSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + userSelector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + userSelector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + userSelector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + userSelector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + userSelector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + userSelector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + userSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + '#withServiceAccountId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The id of the service account.\nThe id of the service account.' } }, + withServiceAccountId(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountId: value, + }, + }, + }, + }, + '#withServiceAccountRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ServiceAccount in oss to populate serviceAccountId.' } }, + withServiceAccountRef(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRef: value, + }, + }, + }, + }, + '#withServiceAccountRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ServiceAccount in oss to populate serviceAccountId.' } }, + withServiceAccountRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRef+: value, + }, + }, + }, + }, + serviceAccountRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withServiceAccountSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ServiceAccount in oss to populate serviceAccountId.' } }, + withServiceAccountSelector(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector: value, + }, + }, + }, + }, + '#withServiceAccountSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ServiceAccount in oss to populate serviceAccountId.' } }, + withServiceAccountSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: value, + }, + }, + }, + }, + serviceAccountSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccountPermission/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccountPermission/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccountPermission/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccountToken/main.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccountToken/main.libsonnet new file mode 100644 index 0000000..f8b8414 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccountToken/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'serviceAccountToken' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'ServiceAccountToken', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccountToken/metadata/main.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccountToken/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccountToken/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccountToken/spec/compositionRef.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccountToken/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccountToken/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccountToken/spec/compositionRevisionRef.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccountToken/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccountToken/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccountToken/spec/compositionSelector.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccountToken/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccountToken/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccountToken/spec/main.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccountToken/spec/main.libsonnet new file mode 100644 index 0000000..13492b9 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccountToken/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ServiceAccountTokenSpec defines the desired state of ServiceAccountToken' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ServiceAccountTokenSpec defines the desired state of ServiceAccountToken' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccountToken/spec/parameters.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccountToken/spec/parameters.libsonnet new file mode 100644 index 0000000..69a0ce3 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccountToken/spec/parameters.libsonnet @@ -0,0 +1,855 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the service account token.\nThe name of the service account token.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withSecondsToLive': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it is null, zero or is omitted completely (unless api_key_max_seconds_to_live configuration option is set) the key will never expire.\nThe key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it is null, zero or is omitted completely (unless `api_key_max_seconds_to_live` configuration option is set) the key will never expire.' } }, + withSecondsToLive(value): { + spec+: { + parameters+: { + forProvider+: { + secondsToLive: value, + }, + }, + }, + }, + '#withServiceAccountId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the service account to which the token belongs.\nThe ID of the service account to which the token belongs.' } }, + withServiceAccountId(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountId: value, + }, + }, + }, + }, + '#withServiceAccountRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ServiceAccount in oss to populate serviceAccountId.' } }, + withServiceAccountRef(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRef: value, + }, + }, + }, + }, + '#withServiceAccountRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ServiceAccount in oss to populate serviceAccountId.' } }, + withServiceAccountRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRef+: value, + }, + }, + }, + }, + serviceAccountRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withServiceAccountSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ServiceAccount in oss to populate serviceAccountId.' } }, + withServiceAccountSelector(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector: value, + }, + }, + }, + }, + '#withServiceAccountSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ServiceAccount in oss to populate serviceAccountId.' } }, + withServiceAccountSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: value, + }, + }, + }, + }, + serviceAccountSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + serviceAccountSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the service account token.\nThe name of the service account token.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withSecondsToLive': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it is null, zero or is omitted completely (unless api_key_max_seconds_to_live configuration option is set) the key will never expire.\nThe key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it is null, zero or is omitted completely (unless `api_key_max_seconds_to_live` configuration option is set) the key will never expire.' } }, + withSecondsToLive(value): { + spec+: { + parameters+: { + initProvider+: { + secondsToLive: value, + }, + }, + }, + }, + '#withServiceAccountId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the service account to which the token belongs.\nThe ID of the service account to which the token belongs.' } }, + withServiceAccountId(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountId: value, + }, + }, + }, + }, + '#withServiceAccountRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ServiceAccount in oss to populate serviceAccountId.' } }, + withServiceAccountRef(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRef: value, + }, + }, + }, + }, + '#withServiceAccountRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ServiceAccount in oss to populate serviceAccountId.' } }, + withServiceAccountRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRef+: value, + }, + }, + }, + }, + serviceAccountRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withServiceAccountSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ServiceAccount in oss to populate serviceAccountId.' } }, + withServiceAccountSelector(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector: value, + }, + }, + }, + }, + '#withServiceAccountSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ServiceAccount in oss to populate serviceAccountId.' } }, + withServiceAccountSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: value, + }, + }, + }, + }, + serviceAccountSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + serviceAccountSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/serviceAccountToken/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oss/v1alpha1/serviceAccountToken/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/serviceAccountToken/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/ssoSettings/main.libsonnet b/grafanaplane/oss/v1alpha1/ssoSettings/main.libsonnet new file mode 100644 index 0000000..1f74159 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/ssoSettings/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'ssoSettings' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'SsoSettings', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/ssoSettings/metadata/main.libsonnet b/grafanaplane/oss/v1alpha1/ssoSettings/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/ssoSettings/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/ssoSettings/spec/compositionRef.libsonnet b/grafanaplane/oss/v1alpha1/ssoSettings/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oss/v1alpha1/ssoSettings/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/ssoSettings/spec/compositionRevisionRef.libsonnet b/grafanaplane/oss/v1alpha1/ssoSettings/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/ssoSettings/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/ssoSettings/spec/compositionSelector.libsonnet b/grafanaplane/oss/v1alpha1/ssoSettings/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/ssoSettings/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/ssoSettings/spec/main.libsonnet b/grafanaplane/oss/v1alpha1/ssoSettings/spec/main.libsonnet new file mode 100644 index 0000000..a9c340b --- /dev/null +++ b/grafanaplane/oss/v1alpha1/ssoSettings/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'SsoSettingsSpec defines the desired state of SsoSettings' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'SsoSettingsSpec defines the desired state of SsoSettings' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/ssoSettings/spec/parameters.libsonnet b/grafanaplane/oss/v1alpha1/ssoSettings/spec/parameters.libsonnet new file mode 100644 index 0000000..af02a33 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/ssoSettings/spec/parameters.libsonnet @@ -0,0 +1,1245 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withOauth2Settings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) The OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers. (see below for nested schema)\nThe OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers.' } }, + withOauth2Settings(value): { + spec+: { + parameters+: { + forProvider+: { + oauth2Settings: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withOauth2SettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) The OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers. (see below for nested schema)\nThe OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers.' } }, + withOauth2SettingsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + oauth2Settings+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + oauth2Settings+: + { + '#': { help: '', name: 'oauth2Settings' }, + '#withAllowAssignGrafanaAdmin': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, it will automatically sync the Grafana server administrator role.\nIf enabled, it will automatically sync the Grafana server administrator role.' } }, + withAllowAssignGrafanaAdmin(value=true): { + allowAssignGrafanaAdmin: value, + }, + '#withAllowSignUp': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If not enabled, only existing Grafana users can log in using OAuth.\nIf not enabled, only existing Grafana users can log in using OAuth.' } }, + withAllowSignUp(value=true): { + allowSignUp: value, + }, + '#withAllowedDomains': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated domains. The user should belong to at least one domain to log in.\nList of comma- or space-separated domains. The user should belong to at least one domain to log in.' } }, + withAllowedDomains(value): { + allowedDomains: value, + }, + '#withAllowedGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated groups. The user should be a member of at least one group to log in. For Generic OAuth, if you configure allowed_groups, you must also configure groups_attribute_path.\nList of comma- or space-separated groups. The user should be a member of at least one group to log in. For Generic OAuth, if you configure allowed_groups, you must also configure groups_attribute_path.' } }, + withAllowedGroups(value): { + allowedGroups: value, + }, + '#withAllowedOrganizations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated organizations. The user should be a member of at least one organization to log in.\nList of comma- or space-separated organizations. The user should be a member of at least one organization to log in.' } }, + withAllowedOrganizations(value): { + allowedOrganizations: value, + }, + '#withApiUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The user information endpoint of your OAuth2 provider. Required for okta and generic_oauth providers.\nThe user information endpoint of your OAuth2 provider. Required for okta and generic_oauth providers.' } }, + withApiUrl(value): { + apiUrl: value, + }, + '#withAuthStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) It determines how client_id and client_secret are sent to Oauth2 provider. Possible values are AutoDetect, InParams, InHeader. Default is AutoDetect.\nIt determines how client_id and client_secret are sent to Oauth2 provider. Possible values are AutoDetect, InParams, InHeader. Default is AutoDetect.' } }, + withAuthStyle(value): { + authStyle: value, + }, + '#withAuthUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The authorization endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.\nThe authorization endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.' } }, + withAuthUrl(value): { + authUrl: value, + }, + '#withAutoLogin': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Log in automatically, skipping the login screen.\nLog in automatically, skipping the login screen.' } }, + withAutoLogin(value=true): { + autoLogin: value, + }, + '#withClientId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The client Id of your OAuth2 app.\nThe client Id of your OAuth2 app.' } }, + withClientId(value): { + clientId: value, + }, + '#withClientSecretSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The client secret of your OAuth2 app.\nThe client secret of your OAuth2 app.' } }, + withClientSecretSecretRef(value): { + clientSecretSecretRef: value, + }, + '#withClientSecretSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The client secret of your OAuth2 app.\nThe client secret of your OAuth2 app.' } }, + withClientSecretSecretRefMixin(value): { + clientSecretSecretRef+: value, + }, + clientSecretSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + clientSecretSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + clientSecretSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + clientSecretSecretRef+: { + namespace: value, + }, + }, + }, + '#withCustom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Custom fields to configure for OAuth2 such as the force_use_graph_api field.\nCustom fields to configure for OAuth2 such as the [force_use_graph_api](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/azuread/#force-fetching-groups-from-microsoft-graph-api) field.' } }, + withCustom(value): { + custom: value, + }, + '#withCustomMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Custom fields to configure for OAuth2 such as the force_use_graph_api field.\nCustom fields to configure for OAuth2 such as the [force_use_graph_api](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/azuread/#force-fetching-groups-from-microsoft-graph-api) field.' } }, + withCustomMixin(value): { + custom+: value, + }, + '#withDefineAllowedGroups': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Define allowed groups.\nDefine allowed groups.' } }, + withDefineAllowedGroups(value=true): { + defineAllowedGroups: value, + }, + '#withDefineAllowedTeamsIds': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Define allowed teams ids.\nDefine allowed teams ids.' } }, + withDefineAllowedTeamsIds(value=true): { + defineAllowedTeamsIds: value, + }, + '#withEmailAttributeName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the key to use for user email lookup within the attributes map of OAuth2 ID token. Only applicable to Generic OAuth.\nName of the key to use for user email lookup within the attributes map of OAuth2 ID token. Only applicable to Generic OAuth.' } }, + withEmailAttributeName(value): { + emailAttributeName: value, + }, + '#withEmailAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) JMESPath expression to use for user email lookup from the user information. Only applicable to Generic OAuth.\nJMESPath expression to use for user email lookup from the user information. Only applicable to Generic OAuth.' } }, + withEmailAttributePath(value): { + emailAttributePath: value, + }, + '#withEmptyScopes': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, no scopes will be sent to the OAuth2 provider.\nIf enabled, no scopes will be sent to the OAuth2 provider.' } }, + withEmptyScopes(value=true): { + emptyScopes: value, + }, + '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Define whether this configuration is enabled for the specified provider. Defaults to true.\nDefine whether this configuration is enabled for the specified provider. Defaults to `true`.' } }, + withEnabled(value=true): { + enabled: value, + }, + '#withGroupsAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) JMESPath expression to use for user group lookup. If you configure allowed_groups, you must also configure groups_attribute_path.\nJMESPath expression to use for user group lookup. If you configure allowed_groups, you must also configure groups_attribute_path.' } }, + withGroupsAttributePath(value): { + groupsAttributePath: value, + }, + '#withIdTokenAttributeName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the key used to extract the ID token from the returned OAuth2 token. Only applicable to Generic OAuth.\nThe name of the key used to extract the ID token from the returned OAuth2 token. Only applicable to Generic OAuth.' } }, + withIdTokenAttributeName(value): { + idTokenAttributeName: value, + }, + '#withLoginAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) JMESPath expression to use for user login lookup from the user ID token. Only applicable to Generic OAuth.\nJMESPath expression to use for user login lookup from the user ID token. Only applicable to Generic OAuth.' } }, + withLoginAttributePath(value): { + loginAttributePath: value, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Helpful if you use more than one identity providers or SSO protocols.\nHelpful if you use more than one identity providers or SSO protocols.' } }, + withName(value): { + name: value, + }, + '#withNameAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) JMESPath expression to use for user name lookup from the user ID token. This name will be used as the user’s display name. Only applicable to Generic OAuth.\nJMESPath expression to use for user name lookup from the user ID token. This name will be used as the user’s display name. Only applicable to Generic OAuth.' } }, + withNameAttributePath(value): { + nameAttributePath: value, + }, + '#withRoleAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) JMESPath expression to use for Grafana role lookup.\nJMESPath expression to use for Grafana role lookup.' } }, + withRoleAttributePath(value): { + roleAttributePath: value, + }, + '#withRoleAttributeStrict': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, denies user login if the Grafana role cannot be extracted using Role attribute path.\nIf enabled, denies user login if the Grafana role cannot be extracted using Role attribute path.' } }, + withRoleAttributeStrict(value=true): { + roleAttributeStrict: value, + }, + '#withScopes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated OAuth2 scopes.\nList of comma- or space-separated OAuth2 scopes.' } }, + withScopes(value): { + scopes: value, + }, + '#withSignoutRedirectUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL to redirect the user to after signing out from Grafana.\nThe URL to redirect the user to after signing out from Grafana.' } }, + withSignoutRedirectUrl(value): { + signoutRedirectUrl: value, + }, + '#withSkipOrgRoleSync': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Prevent synchronizing users’ organization roles from your IdP.\nPrevent synchronizing users’ organization roles from your IdP.' } }, + withSkipOrgRoleSync(value=true): { + skipOrgRoleSync: value, + }, + '#withTeamIds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) String list of Team Ids. If set, the user must be a member of one of the given teams to log in. If you configure team_ids, you must also configure teams_url and team_ids_attribute_path.\nString list of Team Ids. If set, the user must be a member of one of the given teams to log in. If you configure team_ids, you must also configure teams_url and team_ids_attribute_path.' } }, + withTeamIds(value): { + teamIds: value, + }, + '#withTeamIdsAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The JMESPath expression to use for Grafana Team Id lookup within the results returned by the teams_url endpoint. Only applicable to Generic OAuth.\nThe JMESPath expression to use for Grafana Team Id lookup within the results returned by the teams_url endpoint. Only applicable to Generic OAuth.' } }, + withTeamIdsAttributePath(value): { + teamIdsAttributePath: value, + }, + '#withTeamsUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL used to query for Team Ids. If not set, the default value is /teams. If you configure teams_url, you must also configure team_ids_attribute_path. Only applicable to Generic OAuth.\nThe URL used to query for Team Ids. If not set, the default value is /teams. If you configure teams_url, you must also configure team_ids_attribute_path. Only applicable to Generic OAuth.' } }, + withTeamsUrl(value): { + teamsUrl: value, + }, + '#withTlsClientCa': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The path to the trusted certificate authority list. Is not applicable on Grafana Cloud.\nThe path to the trusted certificate authority list. Is not applicable on Grafana Cloud.' } }, + withTlsClientCa(value): { + tlsClientCa: value, + }, + '#withTlsClientCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The path to the certificate. Is not applicable on Grafana Cloud.\nThe path to the certificate. Is not applicable on Grafana Cloud.' } }, + withTlsClientCert(value): { + tlsClientCert: value, + }, + '#withTlsClientKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The path to the key. Is not applicable on Grafana Cloud.\nThe path to the key. Is not applicable on Grafana Cloud.' } }, + withTlsClientKey(value): { + tlsClientKey: value, + }, + '#withTlsSkipVerifyInsecure': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'in-the-middle attacks.\nIf enabled, the client accepts any certificate presented by the server and any host name in that certificate. You should only use this for testing, because this mode leaves SSL/TLS susceptible to man-in-the-middle attacks.' } }, + withTlsSkipVerifyInsecure(value=true): { + tlsSkipVerifyInsecure: value, + }, + '#withTokenUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The token endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.\nThe token endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.' } }, + withTokenUrl(value): { + tokenUrl: value, + }, + '#withUsePkce': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, Grafana will use Proof Key for Code Exchange (PKCE) with the OAuth2 Authorization Code Grant.\nIf enabled, Grafana will use Proof Key for Code Exchange (PKCE) with the OAuth2 Authorization Code Grant.' } }, + withUsePkce(value=true): { + usePkce: value, + }, + '#withUseRefreshToken': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, Grafana will fetch a new access token using the refresh token provided by the OAuth2 provider.\nIf enabled, Grafana will fetch a new access token using the refresh token provided by the OAuth2 provider.' } }, + withUseRefreshToken(value=true): { + useRefreshToken: value, + }, + }, + '#withProviderName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the SSO provider. Supported values: github, gitlab, google, azuread, okta, generic_oauth, saml.\nThe name of the SSO provider. Supported values: github, gitlab, google, azuread, okta, generic_oauth, saml.' } }, + withProviderName(value): { + spec+: { + parameters+: { + forProvider+: { + providerName: value, + }, + }, + }, + }, + '#withSamlSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) The SAML settings set. Required for the saml provider. (see below for nested schema)\nThe SAML settings set. Required for the saml provider.' } }, + withSamlSettings(value): { + spec+: { + parameters+: { + forProvider+: { + samlSettings: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withSamlSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) The SAML settings set. Required for the saml provider. (see below for nested schema)\nThe SAML settings set. Required for the saml provider.' } }, + withSamlSettingsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + samlSettings+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + samlSettings+: + { + '#': { help: '', name: 'samlSettings' }, + '#withAllowIdpInitiated': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'initiated login is allowed.\nWhether SAML IdP-initiated login is allowed.' } }, + withAllowIdpInitiated(value=true): { + allowIdpInitiated: value, + }, + '#withAllowSignUp': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If not enabled, only existing Grafana users can log in using OAuth.\nWhether to allow new Grafana user creation through SAML login. If set to false, then only existing Grafana users can log in with SAML.' } }, + withAllowSignUp(value=true): { + allowSignUp: value, + }, + '#withAllowedOrganizations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated organizations. The user should be a member of at least one organization to log in.\nList of comma- or space-separated organizations. User should be a member of at least one organization to log in.' } }, + withAllowedOrganizations(value): { + allowedOrganizations: value, + }, + '#withAssertionAttributeEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user email.\nFriendly name or name of the attribute within the SAML assertion to use as the user email.' } }, + withAssertionAttributeEmail(value): { + assertionAttributeEmail: value, + }, + '#withAssertionAttributeGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user groups.\nFriendly name or name of the attribute within the SAML assertion to use as the user groups.' } }, + withAssertionAttributeGroups(value): { + assertionAttributeGroups: value, + }, + '#withAssertionAttributeLogin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user login handle.\nFriendly name or name of the attribute within the SAML assertion to use as the user login handle.' } }, + withAssertionAttributeLogin(value): { + assertionAttributeLogin: value, + }, + '#withAssertionAttributeName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user name. Alternatively, this can be a template with variables that match the names of attributes within the SAML assertion.\nFriendly name or name of the attribute within the SAML assertion to use as the user name. Alternatively, this can be a template with variables that match the names of attributes within the SAML assertion.' } }, + withAssertionAttributeName(value): { + assertionAttributeName: value, + }, + '#withAssertionAttributeOrg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user organization.\nFriendly name or name of the attribute within the SAML assertion to use as the user organization.' } }, + withAssertionAttributeOrg(value): { + assertionAttributeOrg: value, + }, + '#withAssertionAttributeRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user roles.\nFriendly name or name of the attribute within the SAML assertion to use as the user roles.' } }, + withAssertionAttributeRole(value): { + assertionAttributeRole: value, + }, + '#withAutoLogin': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Log in automatically, skipping the login screen.\nWhether SAML auto login is enabled.' } }, + withAutoLogin(value=true): { + autoLogin: value, + }, + '#withCertificatePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Path for the SP X.509 certificate.\nPath for the SP X.509 certificate.' } }, + withCertificatePath(value): { + certificatePath: value, + }, + '#withCertificateSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'encoded string for the SP X.509 certificate.\nBase64-encoded string for the SP X.509 certificate.' } }, + withCertificateSecretRef(value): { + certificateSecretRef: value, + }, + '#withCertificateSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'encoded string for the SP X.509 certificate.\nBase64-encoded string for the SP X.509 certificate.' } }, + withCertificateSecretRefMixin(value): { + certificateSecretRef+: value, + }, + certificateSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + certificateSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + certificateSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + certificateSecretRef+: { + namespace: value, + }, + }, + }, + '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Define whether this configuration is enabled for the specified provider. Defaults to true.\nDefine whether this configuration is enabled for SAML. Defaults to `true`.' } }, + withEnabled(value=true): { + enabled: value, + }, + '#withIdpMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'encoded string for the IdP SAML metadata XML.\nBase64-encoded string for the IdP SAML metadata XML.' } }, + withIdpMetadata(value): { + idpMetadata: value, + }, + '#withIdpMetadataPath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Path for the IdP SAML metadata XML.\nPath for the IdP SAML metadata XML.' } }, + withIdpMetadataPath(value): { + idpMetadataPath: value, + }, + '#withIdpMetadataUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) URL for the IdP SAML metadata XML.\nURL for the IdP SAML metadata XML.' } }, + withIdpMetadataUrl(value): { + idpMetadataUrl: value, + }, + '#withMaxIssueDelay': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Duration, since the IdP issued a response and the SP is allowed to process it. For example: 90s, 1h.\nDuration, since the IdP issued a response and the SP is allowed to process it. For example: 90s, 1h.' } }, + withMaxIssueDelay(value): { + maxIssueDelay: value, + }, + '#withMetadataValidDuration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Duration, for how long the SP metadata is valid. For example: 48h, 5d.\nDuration, for how long the SP metadata is valid. For example: 48h, 5d.' } }, + withMetadataValidDuration(value): { + metadataValidDuration: value, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Helpful if you use more than one identity providers or SSO protocols.\nName used to refer to the SAML authentication.' } }, + withName(value): { + name: value, + }, + '#withNameIdFormat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'format:transient\nThe Name ID Format to request within the SAML assertion. Defaults to urn:oasis:names:tc:SAML:2.0:nameid-format:transient' } }, + withNameIdFormat(value): { + nameIdFormat: value, + }, + '#withOrgMapping': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated Organization:OrgId:Role mappings. Organization can be * meaning “All users”. Role is optional and can have the following values: Viewer, Editor or Admin.\nList of comma- or space-separated Organization:OrgId:Role mappings. Organization can be * meaning “All users”. Role is optional and can have the following values: Viewer, Editor or Admin.' } }, + withOrgMapping(value): { + orgMapping: value, + }, + '#withPrivateKeyPath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Path for the SP private key.\nPath for the SP private key.' } }, + withPrivateKeyPath(value): { + privateKeyPath: value, + }, + '#withPrivateKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'encoded string for the SP private key.\nBase64-encoded string for the SP private key.' } }, + withPrivateKeySecretRef(value): { + privateKeySecretRef: value, + }, + '#withPrivateKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'encoded string for the SP private key.\nBase64-encoded string for the SP private key.' } }, + withPrivateKeySecretRefMixin(value): { + privateKeySecretRef+: value, + }, + privateKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + privateKeySecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + privateKeySecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + privateKeySecretRef+: { + namespace: value, + }, + }, + }, + '#withRelayState': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'initiated login. Should match relay state configured in IdP.\nRelay state for IdP-initiated login. Should match relay state configured in IdP.' } }, + withRelayState(value): { + relayState: value, + }, + '#withRoleValuesAdmin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated roles which will be mapped into the Admin role.\nList of comma- or space-separated roles which will be mapped into the Admin role.' } }, + withRoleValuesAdmin(value): { + roleValuesAdmin: value, + }, + '#withRoleValuesEditor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated roles which will be mapped into the Editor role.\nList of comma- or space-separated roles which will be mapped into the Editor role.' } }, + withRoleValuesEditor(value): { + roleValuesEditor: value, + }, + '#withRoleValuesGrafanaAdmin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated roles which will be mapped into the Grafana Admin (Super Admin) role.\nList of comma- or space-separated roles which will be mapped into the Grafana Admin (Super Admin) role.' } }, + withRoleValuesGrafanaAdmin(value): { + roleValuesGrafanaAdmin: value, + }, + '#withRoleValuesNone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated roles which will be mapped into the None role.\nList of comma- or space-separated roles which will be mapped into the None role.' } }, + withRoleValuesNone(value): { + roleValuesNone: value, + }, + '#withRoleValuesViewer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated roles which will be mapped into the Viewer role.\nList of comma- or space-separated roles which will be mapped into the Viewer role.' } }, + withRoleValuesViewer(value): { + roleValuesViewer: value, + }, + '#withSignatureAlgorithm': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sha1, rsa-sha256, rsa-sha512.\nSignature algorithm used for signing requests to the IdP. Supported values are rsa-sha1, rsa-sha256, rsa-sha512.' } }, + withSignatureAlgorithm(value): { + signatureAlgorithm: value, + }, + '#withSingleLogout': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether SAML Single Logout is enabled.\nWhether SAML Single Logout is enabled.' } }, + withSingleLogout(value=true): { + singleLogout: value, + }, + '#withSkipOrgRoleSync': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Prevent synchronizing users’ organization roles from your IdP.\nPrevent synchronizing users’ organization roles from your IdP.' } }, + withSkipOrgRoleSync(value=true): { + skipOrgRoleSync: value, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withOauth2Settings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) The OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers. (see below for nested schema)\nThe OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers.' } }, + withOauth2Settings(value): { + spec+: { + parameters+: { + initProvider+: { + oauth2Settings: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withOauth2SettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) The OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers. (see below for nested schema)\nThe OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers.' } }, + withOauth2SettingsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + oauth2Settings+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + oauth2Settings+: + { + '#': { help: '', name: 'oauth2Settings' }, + '#withAllowAssignGrafanaAdmin': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, it will automatically sync the Grafana server administrator role.\nIf enabled, it will automatically sync the Grafana server administrator role.' } }, + withAllowAssignGrafanaAdmin(value=true): { + allowAssignGrafanaAdmin: value, + }, + '#withAllowSignUp': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If not enabled, only existing Grafana users can log in using OAuth.\nIf not enabled, only existing Grafana users can log in using OAuth.' } }, + withAllowSignUp(value=true): { + allowSignUp: value, + }, + '#withAllowedDomains': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated domains. The user should belong to at least one domain to log in.\nList of comma- or space-separated domains. The user should belong to at least one domain to log in.' } }, + withAllowedDomains(value): { + allowedDomains: value, + }, + '#withAllowedGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated groups. The user should be a member of at least one group to log in. For Generic OAuth, if you configure allowed_groups, you must also configure groups_attribute_path.\nList of comma- or space-separated groups. The user should be a member of at least one group to log in. For Generic OAuth, if you configure allowed_groups, you must also configure groups_attribute_path.' } }, + withAllowedGroups(value): { + allowedGroups: value, + }, + '#withAllowedOrganizations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated organizations. The user should be a member of at least one organization to log in.\nList of comma- or space-separated organizations. The user should be a member of at least one organization to log in.' } }, + withAllowedOrganizations(value): { + allowedOrganizations: value, + }, + '#withApiUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The user information endpoint of your OAuth2 provider. Required for okta and generic_oauth providers.\nThe user information endpoint of your OAuth2 provider. Required for okta and generic_oauth providers.' } }, + withApiUrl(value): { + apiUrl: value, + }, + '#withAuthStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) It determines how client_id and client_secret are sent to Oauth2 provider. Possible values are AutoDetect, InParams, InHeader. Default is AutoDetect.\nIt determines how client_id and client_secret are sent to Oauth2 provider. Possible values are AutoDetect, InParams, InHeader. Default is AutoDetect.' } }, + withAuthStyle(value): { + authStyle: value, + }, + '#withAuthUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The authorization endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.\nThe authorization endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.' } }, + withAuthUrl(value): { + authUrl: value, + }, + '#withAutoLogin': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Log in automatically, skipping the login screen.\nLog in automatically, skipping the login screen.' } }, + withAutoLogin(value=true): { + autoLogin: value, + }, + '#withClientId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The client Id of your OAuth2 app.\nThe client Id of your OAuth2 app.' } }, + withClientId(value): { + clientId: value, + }, + '#withClientSecretSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The client secret of your OAuth2 app.\nThe client secret of your OAuth2 app.' } }, + withClientSecretSecretRef(value): { + clientSecretSecretRef: value, + }, + '#withClientSecretSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The client secret of your OAuth2 app.\nThe client secret of your OAuth2 app.' } }, + withClientSecretSecretRefMixin(value): { + clientSecretSecretRef+: value, + }, + clientSecretSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + clientSecretSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + clientSecretSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + clientSecretSecretRef+: { + namespace: value, + }, + }, + }, + '#withCustom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Custom fields to configure for OAuth2 such as the force_use_graph_api field.\nCustom fields to configure for OAuth2 such as the [force_use_graph_api](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/azuread/#force-fetching-groups-from-microsoft-graph-api) field.' } }, + withCustom(value): { + custom: value, + }, + '#withCustomMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Custom fields to configure for OAuth2 such as the force_use_graph_api field.\nCustom fields to configure for OAuth2 such as the [force_use_graph_api](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/azuread/#force-fetching-groups-from-microsoft-graph-api) field.' } }, + withCustomMixin(value): { + custom+: value, + }, + '#withDefineAllowedGroups': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Define allowed groups.\nDefine allowed groups.' } }, + withDefineAllowedGroups(value=true): { + defineAllowedGroups: value, + }, + '#withDefineAllowedTeamsIds': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Define allowed teams ids.\nDefine allowed teams ids.' } }, + withDefineAllowedTeamsIds(value=true): { + defineAllowedTeamsIds: value, + }, + '#withEmailAttributeName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the key to use for user email lookup within the attributes map of OAuth2 ID token. Only applicable to Generic OAuth.\nName of the key to use for user email lookup within the attributes map of OAuth2 ID token. Only applicable to Generic OAuth.' } }, + withEmailAttributeName(value): { + emailAttributeName: value, + }, + '#withEmailAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) JMESPath expression to use for user email lookup from the user information. Only applicable to Generic OAuth.\nJMESPath expression to use for user email lookup from the user information. Only applicable to Generic OAuth.' } }, + withEmailAttributePath(value): { + emailAttributePath: value, + }, + '#withEmptyScopes': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, no scopes will be sent to the OAuth2 provider.\nIf enabled, no scopes will be sent to the OAuth2 provider.' } }, + withEmptyScopes(value=true): { + emptyScopes: value, + }, + '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Define whether this configuration is enabled for the specified provider. Defaults to true.\nDefine whether this configuration is enabled for the specified provider. Defaults to `true`.' } }, + withEnabled(value=true): { + enabled: value, + }, + '#withGroupsAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) JMESPath expression to use for user group lookup. If you configure allowed_groups, you must also configure groups_attribute_path.\nJMESPath expression to use for user group lookup. If you configure allowed_groups, you must also configure groups_attribute_path.' } }, + withGroupsAttributePath(value): { + groupsAttributePath: value, + }, + '#withIdTokenAttributeName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the key used to extract the ID token from the returned OAuth2 token. Only applicable to Generic OAuth.\nThe name of the key used to extract the ID token from the returned OAuth2 token. Only applicable to Generic OAuth.' } }, + withIdTokenAttributeName(value): { + idTokenAttributeName: value, + }, + '#withLoginAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) JMESPath expression to use for user login lookup from the user ID token. Only applicable to Generic OAuth.\nJMESPath expression to use for user login lookup from the user ID token. Only applicable to Generic OAuth.' } }, + withLoginAttributePath(value): { + loginAttributePath: value, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Helpful if you use more than one identity providers or SSO protocols.\nHelpful if you use more than one identity providers or SSO protocols.' } }, + withName(value): { + name: value, + }, + '#withNameAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) JMESPath expression to use for user name lookup from the user ID token. This name will be used as the user’s display name. Only applicable to Generic OAuth.\nJMESPath expression to use for user name lookup from the user ID token. This name will be used as the user’s display name. Only applicable to Generic OAuth.' } }, + withNameAttributePath(value): { + nameAttributePath: value, + }, + '#withRoleAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) JMESPath expression to use for Grafana role lookup.\nJMESPath expression to use for Grafana role lookup.' } }, + withRoleAttributePath(value): { + roleAttributePath: value, + }, + '#withRoleAttributeStrict': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, denies user login if the Grafana role cannot be extracted using Role attribute path.\nIf enabled, denies user login if the Grafana role cannot be extracted using Role attribute path.' } }, + withRoleAttributeStrict(value=true): { + roleAttributeStrict: value, + }, + '#withScopes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated OAuth2 scopes.\nList of comma- or space-separated OAuth2 scopes.' } }, + withScopes(value): { + scopes: value, + }, + '#withSignoutRedirectUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL to redirect the user to after signing out from Grafana.\nThe URL to redirect the user to after signing out from Grafana.' } }, + withSignoutRedirectUrl(value): { + signoutRedirectUrl: value, + }, + '#withSkipOrgRoleSync': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Prevent synchronizing users’ organization roles from your IdP.\nPrevent synchronizing users’ organization roles from your IdP.' } }, + withSkipOrgRoleSync(value=true): { + skipOrgRoleSync: value, + }, + '#withTeamIds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) String list of Team Ids. If set, the user must be a member of one of the given teams to log in. If you configure team_ids, you must also configure teams_url and team_ids_attribute_path.\nString list of Team Ids. If set, the user must be a member of one of the given teams to log in. If you configure team_ids, you must also configure teams_url and team_ids_attribute_path.' } }, + withTeamIds(value): { + teamIds: value, + }, + '#withTeamIdsAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The JMESPath expression to use for Grafana Team Id lookup within the results returned by the teams_url endpoint. Only applicable to Generic OAuth.\nThe JMESPath expression to use for Grafana Team Id lookup within the results returned by the teams_url endpoint. Only applicable to Generic OAuth.' } }, + withTeamIdsAttributePath(value): { + teamIdsAttributePath: value, + }, + '#withTeamsUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL used to query for Team Ids. If not set, the default value is /teams. If you configure teams_url, you must also configure team_ids_attribute_path. Only applicable to Generic OAuth.\nThe URL used to query for Team Ids. If not set, the default value is /teams. If you configure teams_url, you must also configure team_ids_attribute_path. Only applicable to Generic OAuth.' } }, + withTeamsUrl(value): { + teamsUrl: value, + }, + '#withTlsClientCa': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The path to the trusted certificate authority list. Is not applicable on Grafana Cloud.\nThe path to the trusted certificate authority list. Is not applicable on Grafana Cloud.' } }, + withTlsClientCa(value): { + tlsClientCa: value, + }, + '#withTlsClientCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The path to the certificate. Is not applicable on Grafana Cloud.\nThe path to the certificate. Is not applicable on Grafana Cloud.' } }, + withTlsClientCert(value): { + tlsClientCert: value, + }, + '#withTlsClientKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The path to the key. Is not applicable on Grafana Cloud.\nThe path to the key. Is not applicable on Grafana Cloud.' } }, + withTlsClientKey(value): { + tlsClientKey: value, + }, + '#withTlsSkipVerifyInsecure': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'in-the-middle attacks.\nIf enabled, the client accepts any certificate presented by the server and any host name in that certificate. You should only use this for testing, because this mode leaves SSL/TLS susceptible to man-in-the-middle attacks.' } }, + withTlsSkipVerifyInsecure(value=true): { + tlsSkipVerifyInsecure: value, + }, + '#withTokenUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The token endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.\nThe token endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.' } }, + withTokenUrl(value): { + tokenUrl: value, + }, + '#withUsePkce': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, Grafana will use Proof Key for Code Exchange (PKCE) with the OAuth2 Authorization Code Grant.\nIf enabled, Grafana will use Proof Key for Code Exchange (PKCE) with the OAuth2 Authorization Code Grant.' } }, + withUsePkce(value=true): { + usePkce: value, + }, + '#withUseRefreshToken': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, Grafana will fetch a new access token using the refresh token provided by the OAuth2 provider.\nIf enabled, Grafana will fetch a new access token using the refresh token provided by the OAuth2 provider.' } }, + withUseRefreshToken(value=true): { + useRefreshToken: value, + }, + }, + '#withProviderName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the SSO provider. Supported values: github, gitlab, google, azuread, okta, generic_oauth, saml.\nThe name of the SSO provider. Supported values: github, gitlab, google, azuread, okta, generic_oauth, saml.' } }, + withProviderName(value): { + spec+: { + parameters+: { + initProvider+: { + providerName: value, + }, + }, + }, + }, + '#withSamlSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) The SAML settings set. Required for the saml provider. (see below for nested schema)\nThe SAML settings set. Required for the saml provider.' } }, + withSamlSettings(value): { + spec+: { + parameters+: { + initProvider+: { + samlSettings: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withSamlSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) The SAML settings set. Required for the saml provider. (see below for nested schema)\nThe SAML settings set. Required for the saml provider.' } }, + withSamlSettingsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + samlSettings+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + samlSettings+: + { + '#': { help: '', name: 'samlSettings' }, + '#withAllowIdpInitiated': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'initiated login is allowed.\nWhether SAML IdP-initiated login is allowed.' } }, + withAllowIdpInitiated(value=true): { + allowIdpInitiated: value, + }, + '#withAllowSignUp': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If not enabled, only existing Grafana users can log in using OAuth.\nWhether to allow new Grafana user creation through SAML login. If set to false, then only existing Grafana users can log in with SAML.' } }, + withAllowSignUp(value=true): { + allowSignUp: value, + }, + '#withAllowedOrganizations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated organizations. The user should be a member of at least one organization to log in.\nList of comma- or space-separated organizations. User should be a member of at least one organization to log in.' } }, + withAllowedOrganizations(value): { + allowedOrganizations: value, + }, + '#withAssertionAttributeEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user email.\nFriendly name or name of the attribute within the SAML assertion to use as the user email.' } }, + withAssertionAttributeEmail(value): { + assertionAttributeEmail: value, + }, + '#withAssertionAttributeGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user groups.\nFriendly name or name of the attribute within the SAML assertion to use as the user groups.' } }, + withAssertionAttributeGroups(value): { + assertionAttributeGroups: value, + }, + '#withAssertionAttributeLogin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user login handle.\nFriendly name or name of the attribute within the SAML assertion to use as the user login handle.' } }, + withAssertionAttributeLogin(value): { + assertionAttributeLogin: value, + }, + '#withAssertionAttributeName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user name. Alternatively, this can be a template with variables that match the names of attributes within the SAML assertion.\nFriendly name or name of the attribute within the SAML assertion to use as the user name. Alternatively, this can be a template with variables that match the names of attributes within the SAML assertion.' } }, + withAssertionAttributeName(value): { + assertionAttributeName: value, + }, + '#withAssertionAttributeOrg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user organization.\nFriendly name or name of the attribute within the SAML assertion to use as the user organization.' } }, + withAssertionAttributeOrg(value): { + assertionAttributeOrg: value, + }, + '#withAssertionAttributeRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user roles.\nFriendly name or name of the attribute within the SAML assertion to use as the user roles.' } }, + withAssertionAttributeRole(value): { + assertionAttributeRole: value, + }, + '#withAutoLogin': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Log in automatically, skipping the login screen.\nWhether SAML auto login is enabled.' } }, + withAutoLogin(value=true): { + autoLogin: value, + }, + '#withCertificatePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Path for the SP X.509 certificate.\nPath for the SP X.509 certificate.' } }, + withCertificatePath(value): { + certificatePath: value, + }, + '#withCertificateSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'encoded string for the SP X.509 certificate.\nBase64-encoded string for the SP X.509 certificate.' } }, + withCertificateSecretRef(value): { + certificateSecretRef: value, + }, + '#withCertificateSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'encoded string for the SP X.509 certificate.\nBase64-encoded string for the SP X.509 certificate.' } }, + withCertificateSecretRefMixin(value): { + certificateSecretRef+: value, + }, + certificateSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + certificateSecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + certificateSecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + certificateSecretRef+: { + namespace: value, + }, + }, + }, + '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Define whether this configuration is enabled for the specified provider. Defaults to true.\nDefine whether this configuration is enabled for SAML. Defaults to `true`.' } }, + withEnabled(value=true): { + enabled: value, + }, + '#withIdpMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'encoded string for the IdP SAML metadata XML.\nBase64-encoded string for the IdP SAML metadata XML.' } }, + withIdpMetadata(value): { + idpMetadata: value, + }, + '#withIdpMetadataPath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Path for the IdP SAML metadata XML.\nPath for the IdP SAML metadata XML.' } }, + withIdpMetadataPath(value): { + idpMetadataPath: value, + }, + '#withIdpMetadataUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) URL for the IdP SAML metadata XML.\nURL for the IdP SAML metadata XML.' } }, + withIdpMetadataUrl(value): { + idpMetadataUrl: value, + }, + '#withMaxIssueDelay': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Duration, since the IdP issued a response and the SP is allowed to process it. For example: 90s, 1h.\nDuration, since the IdP issued a response and the SP is allowed to process it. For example: 90s, 1h.' } }, + withMaxIssueDelay(value): { + maxIssueDelay: value, + }, + '#withMetadataValidDuration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Duration, for how long the SP metadata is valid. For example: 48h, 5d.\nDuration, for how long the SP metadata is valid. For example: 48h, 5d.' } }, + withMetadataValidDuration(value): { + metadataValidDuration: value, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Helpful if you use more than one identity providers or SSO protocols.\nName used to refer to the SAML authentication.' } }, + withName(value): { + name: value, + }, + '#withNameIdFormat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'format:transient\nThe Name ID Format to request within the SAML assertion. Defaults to urn:oasis:names:tc:SAML:2.0:nameid-format:transient' } }, + withNameIdFormat(value): { + nameIdFormat: value, + }, + '#withOrgMapping': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated Organization:OrgId:Role mappings. Organization can be * meaning “All users”. Role is optional and can have the following values: Viewer, Editor or Admin.\nList of comma- or space-separated Organization:OrgId:Role mappings. Organization can be * meaning “All users”. Role is optional and can have the following values: Viewer, Editor or Admin.' } }, + withOrgMapping(value): { + orgMapping: value, + }, + '#withPrivateKeyPath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Path for the SP private key.\nPath for the SP private key.' } }, + withPrivateKeyPath(value): { + privateKeyPath: value, + }, + '#withPrivateKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'encoded string for the SP private key.\nBase64-encoded string for the SP private key.' } }, + withPrivateKeySecretRef(value): { + privateKeySecretRef: value, + }, + '#withPrivateKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'encoded string for the SP private key.\nBase64-encoded string for the SP private key.' } }, + withPrivateKeySecretRefMixin(value): { + privateKeySecretRef+: value, + }, + privateKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + privateKeySecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + privateKeySecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + privateKeySecretRef+: { + namespace: value, + }, + }, + }, + '#withRelayState': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'initiated login. Should match relay state configured in IdP.\nRelay state for IdP-initiated login. Should match relay state configured in IdP.' } }, + withRelayState(value): { + relayState: value, + }, + '#withRoleValuesAdmin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated roles which will be mapped into the Admin role.\nList of comma- or space-separated roles which will be mapped into the Admin role.' } }, + withRoleValuesAdmin(value): { + roleValuesAdmin: value, + }, + '#withRoleValuesEditor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated roles which will be mapped into the Editor role.\nList of comma- or space-separated roles which will be mapped into the Editor role.' } }, + withRoleValuesEditor(value): { + roleValuesEditor: value, + }, + '#withRoleValuesGrafanaAdmin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated roles which will be mapped into the Grafana Admin (Super Admin) role.\nList of comma- or space-separated roles which will be mapped into the Grafana Admin (Super Admin) role.' } }, + withRoleValuesGrafanaAdmin(value): { + roleValuesGrafanaAdmin: value, + }, + '#withRoleValuesNone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated roles which will be mapped into the None role.\nList of comma- or space-separated roles which will be mapped into the None role.' } }, + withRoleValuesNone(value): { + roleValuesNone: value, + }, + '#withRoleValuesViewer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated roles which will be mapped into the Viewer role.\nList of comma- or space-separated roles which will be mapped into the Viewer role.' } }, + withRoleValuesViewer(value): { + roleValuesViewer: value, + }, + '#withSignatureAlgorithm': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sha1, rsa-sha256, rsa-sha512.\nSignature algorithm used for signing requests to the IdP. Supported values are rsa-sha1, rsa-sha256, rsa-sha512.' } }, + withSignatureAlgorithm(value): { + signatureAlgorithm: value, + }, + '#withSingleLogout': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether SAML Single Logout is enabled.\nWhether SAML Single Logout is enabled.' } }, + withSingleLogout(value=true): { + singleLogout: value, + }, + '#withSkipOrgRoleSync': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Prevent synchronizing users’ organization roles from your IdP.\nPrevent synchronizing users’ organization roles from your IdP.' } }, + withSkipOrgRoleSync(value=true): { + skipOrgRoleSync: value, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/ssoSettings/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oss/v1alpha1/ssoSettings/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/ssoSettings/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/team/main.libsonnet b/grafanaplane/oss/v1alpha1/team/main.libsonnet new file mode 100644 index 0000000..d0c43b0 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/team/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'team' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'Team', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/team/metadata/main.libsonnet b/grafanaplane/oss/v1alpha1/team/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/team/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/team/spec/compositionRef.libsonnet b/grafanaplane/oss/v1alpha1/team/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oss/v1alpha1/team/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/team/spec/compositionRevisionRef.libsonnet b/grafanaplane/oss/v1alpha1/team/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/team/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/team/spec/compositionSelector.libsonnet b/grafanaplane/oss/v1alpha1/team/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/team/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/team/spec/main.libsonnet b/grafanaplane/oss/v1alpha1/team/spec/main.libsonnet new file mode 100644 index 0000000..90e244d --- /dev/null +++ b/grafanaplane/oss/v1alpha1/team/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TeamSpec defines the desired state of Team' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TeamSpec defines the desired state of Team' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/team/spec/parameters.libsonnet b/grafanaplane/oss/v1alpha1/team/spec/parameters.libsonnet new file mode 100644 index 0000000..2dd6426 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/team/spec/parameters.libsonnet @@ -0,0 +1,1449 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) An email address for the team.\nAn email address for the team.' } }, + withEmail(value): { + spec+: { + parameters+: { + forProvider+: { + email: value, + }, + }, + }, + }, + '#withIgnoreExternallySyncedMembers': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Ignores team members that have been added to team by Team Sync.\nTeam Sync can be provisioned using grafana_team_external_group resource.\nDefaults to true.\nIgnores team members that have been added to team by [Team Sync](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/).\nTeam Sync can be provisioned using [grafana_team_external_group resource](https://registry.io/providers/grafana/grafana/latest/docs/resources/team_external_group).\nDefaults to `true`.' } }, + withIgnoreExternallySyncedMembers(value=true): { + spec+: { + parameters+: { + forProvider+: { + ignoreExternallySyncedMembers: value, + }, + }, + }, + }, + '#withMemberRefs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to User in oss to populate members.' } }, + withMemberRefs(value): { + spec+: { + parameters+: { + forProvider+: { + memberRefs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withMemberRefsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to User in oss to populate members.' } }, + withMemberRefsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + memberRefs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + memberRefs+: + { + '#': { help: '', name: 'memberRefs' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + name: value, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + policy: value, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + policy+: value, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + policy+: { + resolution: value, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + policy+: { + resolve: value, + }, + }, + }, + }, + '#withMemberSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of User in oss to populate members.' } }, + withMemberSelector(value): { + spec+: { + parameters+: { + forProvider+: { + memberSelector: value, + }, + }, + }, + }, + '#withMemberSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of User in oss to populate members.' } }, + withMemberSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + memberSelector+: value, + }, + }, + }, + }, + memberSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + memberSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + memberSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + memberSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + memberSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + memberSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + memberSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + memberSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMembers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) A set of email addresses corresponding to users who should be given membership\nto the team. Note: users specified here must already exist in Grafana.\nA set of email addresses corresponding to users who should be given membership\nto the team. Note: users specified here must already exist in Grafana.' } }, + withMembers(value): { + spec+: { + parameters+: { + forProvider+: { + members: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withMembersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) A set of email addresses corresponding to users who should be given membership\nto the team. Note: users specified here must already exist in Grafana.\nA set of email addresses corresponding to users who should be given membership\nto the team. Note: users specified here must already exist in Grafana.' } }, + withMembersMixin(value): { + spec+: { + parameters+: { + forProvider+: { + members+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The display name for the Grafana team created.\nThe display name for the Grafana team created.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + forProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withPreferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, + withPreferences(value): { + spec+: { + parameters+: { + forProvider+: { + preferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPreferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, + withPreferencesMixin(value): { + spec+: { + parameters+: { + forProvider+: { + preferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + preferences+: + { + '#': { help: '', name: 'preferences' }, + '#withHomeDashboardUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The UID of the dashboard to display when a team member logs in. Defaults to “.\nThe UID of the dashboard to display when a team member logs in. Defaults to “.' } }, + withHomeDashboardUid(value): { + homeDashboardUid: value, + }, + '#withTheme': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default theme for this team. Available themes are light, dark, system, or an empty string for the default theme. Defaults to “.\nThe default theme for this team. Available themes are `light`, `dark`, `system`, or an empty string for the default theme. Defaults to “.' } }, + withTheme(value): { + theme: value, + }, + '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default timezone for this team. Available values are utc, browser, or an empty string for the default. Defaults to “.\nThe default timezone for this team. Available values are `utc`, `browser`, or an empty string for the default. Defaults to “.' } }, + withTimezone(value): { + timezone: value, + }, + '#withWeekStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default week start day for this team. Available values are sunday, monday, saturday, or an empty string for the default. Defaults to “.\nThe default week start day for this team. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default. Defaults to “.' } }, + withWeekStart(value): { + weekStart: value, + }, + }, + '#withTeamSync': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Sync external auth provider groups with this Grafana team. Only available in Grafana Enterprise.\nSync external auth provider groups with this Grafana team. Only available in Grafana Enterprise.\n* [Official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team_sync/)' } }, + withTeamSync(value): { + spec+: { + parameters+: { + forProvider+: { + teamSync: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withTeamSyncMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Sync external auth provider groups with this Grafana team. Only available in Grafana Enterprise.\nSync external auth provider groups with this Grafana team. Only available in Grafana Enterprise.\n* [Official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team_sync/)' } }, + withTeamSyncMixin(value): { + spec+: { + parameters+: { + forProvider+: { + teamSync+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + teamSync+: + { + '#': { help: '', name: 'teamSync' }, + '#withGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String)' } }, + withGroups(value): { + groups: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String)' } }, + withGroupsMixin(value): { + groups+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) An email address for the team.\nAn email address for the team.' } }, + withEmail(value): { + spec+: { + parameters+: { + initProvider+: { + email: value, + }, + }, + }, + }, + '#withIgnoreExternallySyncedMembers': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Ignores team members that have been added to team by Team Sync.\nTeam Sync can be provisioned using grafana_team_external_group resource.\nDefaults to true.\nIgnores team members that have been added to team by [Team Sync](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/).\nTeam Sync can be provisioned using [grafana_team_external_group resource](https://registry.io/providers/grafana/grafana/latest/docs/resources/team_external_group).\nDefaults to `true`.' } }, + withIgnoreExternallySyncedMembers(value=true): { + spec+: { + parameters+: { + initProvider+: { + ignoreExternallySyncedMembers: value, + }, + }, + }, + }, + '#withMemberRefs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to User in oss to populate members.' } }, + withMemberRefs(value): { + spec+: { + parameters+: { + initProvider+: { + memberRefs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withMemberRefsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to User in oss to populate members.' } }, + withMemberRefsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + memberRefs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + memberRefs+: + { + '#': { help: '', name: 'memberRefs' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + name: value, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + policy: value, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + policy+: value, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + policy+: { + resolution: value, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + policy+: { + resolve: value, + }, + }, + }, + }, + '#withMemberSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of User in oss to populate members.' } }, + withMemberSelector(value): { + spec+: { + parameters+: { + initProvider+: { + memberSelector: value, + }, + }, + }, + }, + '#withMemberSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of User in oss to populate members.' } }, + withMemberSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + memberSelector+: value, + }, + }, + }, + }, + memberSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + memberSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + memberSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + memberSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + memberSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + memberSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + memberSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + memberSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMembers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) A set of email addresses corresponding to users who should be given membership\nto the team. Note: users specified here must already exist in Grafana.\nA set of email addresses corresponding to users who should be given membership\nto the team. Note: users specified here must already exist in Grafana.' } }, + withMembers(value): { + spec+: { + parameters+: { + initProvider+: { + members: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withMembersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) A set of email addresses corresponding to users who should be given membership\nto the team. Note: users specified here must already exist in Grafana.\nA set of email addresses corresponding to users who should be given membership\nto the team. Note: users specified here must already exist in Grafana.' } }, + withMembersMixin(value): { + spec+: { + parameters+: { + initProvider+: { + members+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The display name for the Grafana team created.\nThe display name for the Grafana team created.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, + withOrgId(value): { + spec+: { + parameters+: { + initProvider+: { + orgId: value, + }, + }, + }, + }, + '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRef(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef: value, + }, + }, + }, + }, + '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, + withOrganizationRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: value, + }, + }, + }, + }, + organizationRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelector(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector: value, + }, + }, + }, + }, + '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, + withOrganizationSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: value, + }, + }, + }, + }, + organizationSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + organizationSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withPreferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, + withPreferences(value): { + spec+: { + parameters+: { + initProvider+: { + preferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withPreferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, + withPreferencesMixin(value): { + spec+: { + parameters+: { + initProvider+: { + preferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + preferences+: + { + '#': { help: '', name: 'preferences' }, + '#withHomeDashboardUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The UID of the dashboard to display when a team member logs in. Defaults to “.\nThe UID of the dashboard to display when a team member logs in. Defaults to “.' } }, + withHomeDashboardUid(value): { + homeDashboardUid: value, + }, + '#withTheme': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default theme for this team. Available themes are light, dark, system, or an empty string for the default theme. Defaults to “.\nThe default theme for this team. Available themes are `light`, `dark`, `system`, or an empty string for the default theme. Defaults to “.' } }, + withTheme(value): { + theme: value, + }, + '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default timezone for this team. Available values are utc, browser, or an empty string for the default. Defaults to “.\nThe default timezone for this team. Available values are `utc`, `browser`, or an empty string for the default. Defaults to “.' } }, + withTimezone(value): { + timezone: value, + }, + '#withWeekStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default week start day for this team. Available values are sunday, monday, saturday, or an empty string for the default. Defaults to “.\nThe default week start day for this team. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default. Defaults to “.' } }, + withWeekStart(value): { + weekStart: value, + }, + }, + '#withTeamSync': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Sync external auth provider groups with this Grafana team. Only available in Grafana Enterprise.\nSync external auth provider groups with this Grafana team. Only available in Grafana Enterprise.\n* [Official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team_sync/)' } }, + withTeamSync(value): { + spec+: { + parameters+: { + initProvider+: { + teamSync: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withTeamSyncMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Sync external auth provider groups with this Grafana team. Only available in Grafana Enterprise.\nSync external auth provider groups with this Grafana team. Only available in Grafana Enterprise.\n* [Official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team_sync/)' } }, + withTeamSyncMixin(value): { + spec+: { + parameters+: { + initProvider+: { + teamSync+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + teamSync+: + { + '#': { help: '', name: 'teamSync' }, + '#withGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String)' } }, + withGroups(value): { + groups: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String)' } }, + withGroupsMixin(value): { + groups+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/team/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oss/v1alpha1/team/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/team/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/user/main.libsonnet b/grafanaplane/oss/v1alpha1/user/main.libsonnet new file mode 100644 index 0000000..8e3e121 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/user/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'user' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'User', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/user/metadata/main.libsonnet b/grafanaplane/oss/v1alpha1/user/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/user/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/user/spec/compositionRef.libsonnet b/grafanaplane/oss/v1alpha1/user/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/oss/v1alpha1/user/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/user/spec/compositionRevisionRef.libsonnet b/grafanaplane/oss/v1alpha1/user/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/user/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/user/spec/compositionSelector.libsonnet b/grafanaplane/oss/v1alpha1/user/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/user/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/user/spec/main.libsonnet b/grafanaplane/oss/v1alpha1/user/spec/main.libsonnet new file mode 100644 index 0000000..d815736 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/user/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'UserSpec defines the desired state of User' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'UserSpec defines the desired state of User' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/oss/v1alpha1/user/spec/parameters.libsonnet b/grafanaplane/oss/v1alpha1/user/spec/parameters.libsonnet new file mode 100644 index 0000000..01a8cfd --- /dev/null +++ b/grafanaplane/oss/v1alpha1/user/spec/parameters.libsonnet @@ -0,0 +1,585 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The email address of the Grafana user.\nThe email address of the Grafana user.' } }, + withEmail(value): { + spec+: { + parameters+: { + forProvider+: { + email: value, + }, + }, + }, + }, + '#withIsAdmin': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to make user an admin. Defaults to false.\nWhether to make user an admin. Defaults to `false`.' } }, + withIsAdmin(value=true): { + spec+: { + parameters+: { + forProvider+: { + isAdmin: value, + }, + }, + }, + }, + '#withLogin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The username for the Grafana user.\nThe username for the Grafana user.' } }, + withLogin(value): { + spec+: { + parameters+: { + forProvider+: { + login: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The display name for the Grafana user.\nThe display name for the Grafana user.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password for the Grafana user.\nThe password for the Grafana user.' } }, + withPasswordSecretRef(value): { + spec+: { + parameters+: { + forProvider+: { + passwordSecretRef: value, + }, + }, + }, + }, + '#withPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password for the Grafana user.\nThe password for the Grafana user.' } }, + withPasswordSecretRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + passwordSecretRef+: value, + }, + }, + }, + }, + passwordSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + spec+: { + parameters+: { + forProvider+: { + passwordSecretRef+: { + key: value, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + passwordSecretRef+: { + name: value, + }, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + forProvider+: { + passwordSecretRef+: { + namespace: value, + }, + }, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The email address of the Grafana user.\nThe email address of the Grafana user.' } }, + withEmail(value): { + spec+: { + parameters+: { + initProvider+: { + email: value, + }, + }, + }, + }, + '#withIsAdmin': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to make user an admin. Defaults to false.\nWhether to make user an admin. Defaults to `false`.' } }, + withIsAdmin(value=true): { + spec+: { + parameters+: { + initProvider+: { + isAdmin: value, + }, + }, + }, + }, + '#withLogin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The username for the Grafana user.\nThe username for the Grafana user.' } }, + withLogin(value): { + spec+: { + parameters+: { + initProvider+: { + login: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The display name for the Grafana user.\nThe display name for the Grafana user.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password for the Grafana user.\nThe password for the Grafana user.' } }, + withPasswordSecretRef(value): { + spec+: { + parameters+: { + initProvider+: { + passwordSecretRef: value, + }, + }, + }, + }, + '#withPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password for the Grafana user.\nThe password for the Grafana user.' } }, + withPasswordSecretRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + passwordSecretRef+: value, + }, + }, + }, + }, + passwordSecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + spec+: { + parameters+: { + initProvider+: { + passwordSecretRef+: { + key: value, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + passwordSecretRef+: { + name: value, + }, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + initProvider+: { + passwordSecretRef+: { + namespace: value, + }, + }, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/oss/v1alpha1/user/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/oss/v1alpha1/user/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/oss/v1alpha1/user/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/raw.libsonnet b/grafanaplane/raw.libsonnet deleted file mode 100644 index 5ab3d7a..0000000 --- a/grafanaplane/raw.libsonnet +++ /dev/null @@ -1,78046 +0,0 @@ -{ - alerting+: - { - '#': { help: '', name: 'alerting' }, - v1alpha1+: - { - contactPoint+: - { - '#': { help: '', name: 'contactPoint' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'alerting.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'ContactPoint', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ContactPointSpec defines the desired state of ContactPoint' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ContactPointSpec defines the desired state of ContactPoint' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withAlertmanager': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to other Alertmanager instances. (see below for nested schema)\nA contact point that sends notifications to other Alertmanager instances.' } }, - withAlertmanager(value): { - spec+: { - parameters+: { - forProvider+: { - alertmanager: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withAlertmanagerMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to other Alertmanager instances. (see below for nested schema)\nA contact point that sends notifications to other Alertmanager instances.' } }, - withAlertmanagerMixin(value): { - spec+: { - parameters+: { - forProvider+: { - alertmanager+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - alertmanager+: - { - '#': { help: '', name: 'alertmanager' }, - '#withBasicAuthPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe password component of the basic auth credentials to use.' } }, - withBasicAuthPasswordSecretRef(value): { - basicAuthPasswordSecretRef: value, - }, - '#withBasicAuthPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe password component of the basic auth credentials to use.' } }, - withBasicAuthPasswordSecretRefMixin(value): { - basicAuthPasswordSecretRef+: value, - }, - basicAuthPasswordSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - basicAuthPasswordSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - basicAuthPasswordSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - basicAuthPasswordSecretRef+: { - namespace: value, - }, - }, - }, - '#withBasicAuthUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The username component of the basic auth credentials to use.\nThe username component of the basic auth credentials to use.' } }, - withBasicAuthUser(value): { - basicAuthUser: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - settingsSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - settingsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - settingsSecretRef+: { - namespace: value, - }, - }, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe URL of the Alertmanager instance.' } }, - withUrl(value): { - url: value, - }, - }, - '#withDingding': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to DingDing. (see below for nested schema)\nA contact point that sends notifications to DingDing.' } }, - withDingding(value): { - spec+: { - parameters+: { - forProvider+: { - dingding: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withDingdingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to DingDing. (see below for nested schema)\nA contact point that sends notifications to DingDing.' } }, - withDingdingMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dingding+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - dingding+: - { - '#': { help: '', name: 'dingding' }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message.' } }, - withMessage(value): { - message: value, - }, - '#withMessageType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "either 'link' or 'actionCard'\nThe format of message to send - either 'link' or 'actionCard'" } }, - withMessageType(value): { - messageType: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - settingsSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - settingsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - settingsSecretRef+: { - namespace: value, - }, - }, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message.' } }, - withTitle(value): { - title: value, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe DingDing webhook URL.' } }, - withUrl(value): { - url: value, - }, - }, - '#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Defaults to false. Defaults to `false`.' } }, - withDisableProvenance(value=true): { - spec+: { - parameters+: { - forProvider+: { - disableProvenance: value, - }, - }, - }, - }, - '#withDiscord': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications as Discord messages (see below for nested schema)\nA contact point that sends notifications as Discord messages' } }, - withDiscord(value): { - spec+: { - parameters+: { - forProvider+: { - discord: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withDiscordMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications as Discord messages (see below for nested schema)\nA contact point that sends notifications as Discord messages' } }, - withDiscordMixin(value): { - spec+: { - parameters+: { - forProvider+: { - discord+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - discord+: - { - '#': { help: '', name: 'discord' }, - '#withAvatarUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of a custom avatar image to use. Defaults to “.\nThe URL of a custom avatar image to use. Defaults to “.' } }, - withAvatarUrl(value): { - avatarUrl: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message. Defaults to “.' } }, - withMessage(value): { - message: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - settingsSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - settingsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - settingsSecretRef+: { - namespace: value, - }, - }, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated content of the title.' } }, - withTitle(value): { - title: value, - }, - '#withUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe discord webhook URL.' } }, - withUrlSecretRef(value): { - urlSecretRef: value, - }, - '#withUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe discord webhook URL.' } }, - withUrlSecretRefMixin(value): { - urlSecretRef+: value, - }, - urlSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - urlSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - urlSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - urlSecretRef+: { - namespace: value, - }, - }, - }, - '#withUseDiscordUsername': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to use the bot account's plain username instead of \"Grafana.\" Defaults to false.\nWhether to use the bot account's plain username instead of \"Grafana.\" Defaults to `false`." } }, - withUseDiscordUsername(value=true): { - useDiscordUsername: value, - }, - }, - '#withEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to an email address. (see below for nested schema)\nA contact point that sends notifications to an email address.' } }, - withEmail(value): { - spec+: { - parameters+: { - forProvider+: { - email: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withEmailMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to an email address. (see below for nested schema)\nA contact point that sends notifications to an email address.' } }, - withEmailMixin(value): { - spec+: { - parameters+: { - forProvider+: { - email+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - email+: - { - '#': { help: '', name: 'email' }, - '#withAddresses': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) The addresses to send emails to.\nThe addresses to send emails to.' } }, - withAddresses(value): { - addresses: - (if std.isArray(value) - then value - else [value]), - }, - '#withAddressesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) The addresses to send emails to.\nThe addresses to send emails to.' } }, - withAddressesMixin(value): { - addresses+: - (if std.isArray(value) - then value - else [value]), - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the email. Defaults to “.' } }, - withMessage(value): { - message: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - settingsSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - settingsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - settingsSecretRef+: { - namespace: value, - }, - }, - }, - '#withSingleEmail': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to send a single email CC'ing all addresses, rather than a separate email to each address. Defaults to false.\nWhether to send a single email CC'ing all addresses, rather than a separate email to each address. Defaults to `false`." } }, - withSingleEmail(value=true): { - singleEmail: value, - }, - '#withSubject': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated subject line of the email. Defaults to “.\nThe templated subject line of the email. Defaults to “.' } }, - withSubject(value): { - subject: value, - }, - }, - '#withGooglechat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Google Chat. (see below for nested schema)\nA contact point that sends notifications to Google Chat.' } }, - withGooglechat(value): { - spec+: { - parameters+: { - forProvider+: { - googlechat: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withGooglechatMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Google Chat. (see below for nested schema)\nA contact point that sends notifications to Google Chat.' } }, - withGooglechatMixin(value): { - spec+: { - parameters+: { - forProvider+: { - googlechat+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - googlechat+: - { - '#': { help: '', name: 'googlechat' }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message.' } }, - withMessage(value): { - message: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - settingsSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - settingsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - settingsSecretRef+: { - namespace: value, - }, - }, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated content of the title.' } }, - withTitle(value): { - title: value, - }, - '#withUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe Google Chat webhook URL.' } }, - withUrlSecretRef(value): { - urlSecretRef: value, - }, - '#withUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe Google Chat webhook URL.' } }, - withUrlSecretRefMixin(value): { - urlSecretRef+: value, - }, - urlSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - urlSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - urlSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - urlSecretRef+: { - namespace: value, - }, - }, - }, - }, - '#withKafka': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that publishes notifications to Apache Kafka topics. (see below for nested schema)\nA contact point that publishes notifications to Apache Kafka topics.' } }, - withKafka(value): { - spec+: { - parameters+: { - forProvider+: { - kafka: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withKafkaMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that publishes notifications to Apache Kafka topics. (see below for nested schema)\nA contact point that publishes notifications to Apache Kafka topics.' } }, - withKafkaMixin(value): { - spec+: { - parameters+: { - forProvider+: { - kafka+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - kafka+: - { - '#': { help: '', name: 'kafka' }, - '#withApiVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The API version to use when contacting the Kafka REST Server. Supported: v2 (default) and v3. Defaults to v2.\nThe API version to use when contacting the Kafka REST Server. Supported: v2 (default) and v3. Defaults to `v2`.' } }, - withApiVersion(value): { - apiVersion: value, - }, - '#withClusterId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The Id of cluster to use when contacting the Kafka REST Server. Required api_version to be 'v3'\nThe Id of cluster to use when contacting the Kafka REST Server. Required api_version to be 'v3'" } }, - withClusterId(value): { - clusterId: value, - }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated description of the Kafka message.\nThe templated description of the Kafka message.' } }, - withDescription(value): { - description: value, - }, - '#withDetails': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated details to include with the message.\nThe templated details to include with the message.' } }, - withDetails(value): { - details: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password to use when making a call to the Kafka REST Proxy\nThe password to use when making a call to the Kafka REST Proxy' } }, - withPasswordSecretRef(value): { - passwordSecretRef: value, - }, - '#withPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password to use when making a call to the Kafka REST Proxy\nThe password to use when making a call to the Kafka REST Proxy' } }, - withPasswordSecretRefMixin(value): { - passwordSecretRef+: value, - }, - passwordSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - passwordSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - passwordSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - passwordSecretRef+: { - namespace: value, - }, - }, - }, - '#withRestProxyUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The URL of the Kafka REST proxy to send requests to.\nThe URL of the Kafka REST proxy to send requests to.' } }, - withRestProxyUrlSecretRef(value): { - restProxyUrlSecretRef: value, - }, - '#withRestProxyUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The URL of the Kafka REST proxy to send requests to.\nThe URL of the Kafka REST proxy to send requests to.' } }, - withRestProxyUrlSecretRefMixin(value): { - restProxyUrlSecretRef+: value, - }, - restProxyUrlSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - restProxyUrlSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - restProxyUrlSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - restProxyUrlSecretRef+: { - namespace: value, - }, - }, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - settingsSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - settingsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - settingsSecretRef+: { - namespace: value, - }, - }, - }, - '#withTopic': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the Kafka topic to publish to.\nThe name of the Kafka topic to publish to.' } }, - withTopic(value): { - topic: value, - }, - '#withUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The user name to use when making a call to the Kafka REST Proxy\nThe user name to use when making a call to the Kafka REST Proxy' } }, - withUsername(value): { - username: value, - }, - }, - '#withLine': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to LINE.me. (see below for nested schema)\nA contact point that sends notifications to LINE.me.' } }, - withLine(value): { - spec+: { - parameters+: { - forProvider+: { - line: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withLineMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to LINE.me. (see below for nested schema)\nA contact point that sends notifications to LINE.me.' } }, - withLineMixin(value): { - spec+: { - parameters+: { - forProvider+: { - line+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - line+: - { - '#': { help: '', name: 'line' }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated description of the Kafka message.\nThe templated description of the message.' } }, - withDescription(value): { - description: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - settingsSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - settingsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - settingsSecretRef+: { - namespace: value, - }, - }, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message.' } }, - withTitle(value): { - title: value, - }, - '#withTokenSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe bearer token used to authorize the client.' } }, - withTokenSecretRef(value): { - tokenSecretRef: value, - }, - '#withTokenSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe bearer token used to authorize the client.' } }, - withTokenSecretRefMixin(value): { - tokenSecretRef+: value, - }, - tokenSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - tokenSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - tokenSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - tokenSecretRef+: { - namespace: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the contact point.\nThe name of the contact point.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withOncall': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Call. (see below for nested schema)\nA contact point that sends notifications to Grafana On-Call.' } }, - withOncall(value): { - spec+: { - parameters+: { - forProvider+: { - oncall: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withOncallMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Call. (see below for nested schema)\nA contact point that sends notifications to Grafana On-Call.' } }, - withOncallMixin(value): { - spec+: { - parameters+: { - forProvider+: { - oncall+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - oncall+: - { - '#': { help: '', name: 'oncall' }, - '#withAuthorizationCredentialsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'attaches an auth header with this value. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.' } }, - withAuthorizationCredentialsSecretRef(value): { - authorizationCredentialsSecretRef: value, - }, - '#withAuthorizationCredentialsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'attaches an auth header with this value. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.' } }, - withAuthorizationCredentialsSecretRefMixin(value): { - authorizationCredentialsSecretRef+: value, - }, - authorizationCredentialsSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - authorizationCredentialsSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - authorizationCredentialsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - authorizationCredentialsSecretRef+: { - namespace: value, - }, - }, - }, - '#withAuthorizationScheme': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'attaches an auth header with this name. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters.' } }, - withAuthorizationScheme(value): { - authorizationScheme: value, - }, - '#withBasicAuthPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, - withBasicAuthPasswordSecretRef(value): { - basicAuthPasswordSecretRef: value, - }, - '#withBasicAuthPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, - withBasicAuthPasswordSecretRefMixin(value): { - basicAuthPasswordSecretRef+: value, - }, - basicAuthPasswordSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - basicAuthPasswordSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - basicAuthPasswordSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - basicAuthPasswordSecretRef+: { - namespace: value, - }, - }, - }, - '#withBasicAuthUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The username component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, - withBasicAuthUser(value): { - basicAuthUser: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withHttpMethod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The HTTP method to use in the request. Defaults to POST.\nThe HTTP method to use in the request. Defaults to `POST`.' } }, - withHttpMethod(value): { - httpMethod: value, - }, - '#withMaxAlerts': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.\nThe maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.' } }, - withMaxAlerts(value): { - maxAlerts: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nCustom message. You can use template variables.' } }, - withMessage(value): { - message: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - settingsSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - settingsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - settingsSecretRef+: { - namespace: value, - }, - }, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nTemplated title of the message.' } }, - withTitle(value): { - title: value, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe URL to send webhook requests to.' } }, - withUrl(value): { - url: value, - }, - }, - '#withOpsgenie': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to OpsGenie. (see below for nested schema)\nA contact point that sends notifications to OpsGenie.' } }, - withOpsgenie(value): { - spec+: { - parameters+: { - forProvider+: { - opsgenie: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withOpsgenieMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to OpsGenie. (see below for nested schema)\nA contact point that sends notifications to OpsGenie.' } }, - withOpsgenieMixin(value): { - spec+: { - parameters+: { - forProvider+: { - opsgenie+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - opsgenie+: - { - '#': { help: '', name: 'opsgenie' }, - '#withApiKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The OpsGenie API key to use.\nThe OpsGenie API key to use.' } }, - withApiKeySecretRef(value): { - apiKeySecretRef: value, - }, - '#withApiKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The OpsGenie API key to use.\nThe OpsGenie API key to use.' } }, - withApiKeySecretRefMixin(value): { - apiKeySecretRef+: value, - }, - apiKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - apiKeySecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - apiKeySecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - apiKeySecretRef+: { - namespace: value, - }, - }, - }, - '#withAutoClose': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'close alerts in OpsGenie when they resolve in the Alertmanager.\nWhether to auto-close alerts in OpsGenie when they resolve in the Alertmanager.' } }, - withAutoClose(value=true): { - autoClose: value, - }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated description of the Kafka message.\nA templated high-level description to use for the alert.' } }, - withDescription(value): { - description: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message.' } }, - withMessage(value): { - message: value, - }, - '#withOverridePriority': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to allow the alert priority to be configured via the value of the og_priority annotation on the alert.\nWhether to allow the alert priority to be configured via the value of the `og_priority` annotation on the alert.' } }, - withOverridePriority(value=true): { - overridePriority: value, - }, - '#withResponders': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+. (see below for nested schema)\nTeams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+.' } }, - withResponders(value): { - responders: - (if std.isArray(value) - then value - else [value]), - }, - '#withRespondersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+. (see below for nested schema)\nTeams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+.' } }, - withRespondersMixin(value): { - responders+: - (if std.isArray(value) - then value - else [value]), - }, - responders+: - { - '#': { help: '', name: 'responders' }, - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of this resource.\nID of the responder. Must be specified if name and username are empty.' } }, - withId(value): { - id: value, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the contact point.\nName of the responder. Must be specified if username and id are empty.' } }, - withName(value): { - name: value, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Type of the responder. Supported: team, teams, user, escalation, schedule or a template that is expanded to one of these values.\nType of the responder. Supported: team, teams, user, escalation, schedule or a template that is expanded to one of these values.' } }, - withType(value): { - type: value, - }, - '#withUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The user name to use when making a call to the Kafka REST Proxy\nUser name of the responder. Must be specified if name and id are empty.' } }, - withUsername(value): { - username: value, - }, - }, - '#withSendTagsAs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Whether to send annotations to OpsGenie as Tags, Details, or both. Supported values are tags, details, both, or empty to use the default behavior of Tags.\nWhether to send annotations to OpsGenie as Tags, Details, or both. Supported values are `tags`, `details`, `both`, or empty to use the default behavior of Tags.' } }, - withSendTagsAs(value): { - sendTagsAs: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - settingsSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - settingsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - settingsSecretRef+: { - namespace: value, - }, - }, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nAllows customization of the OpsGenie API URL.' } }, - withUrl(value): { - url: value, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withPagerduty': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to PagerDuty. (see below for nested schema)\nA contact point that sends notifications to PagerDuty.' } }, - withPagerduty(value): { - spec+: { - parameters+: { - forProvider+: { - pagerduty: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPagerdutyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to PagerDuty. (see below for nested schema)\nA contact point that sends notifications to PagerDuty.' } }, - withPagerdutyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - pagerduty+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - pagerduty+: - { - '#': { help: '', name: 'pagerduty' }, - '#withClass': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The class or type of event, for example ping failure.\nThe class or type of event, for example `ping failure`.' } }, - withClass(value): { - class: value, - }, - '#withClient': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the monitoring client that is triggering this event.\nThe name of the monitoring client that is triggering this event.' } }, - withClient(value): { - client: value, - }, - '#withClientUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the monitoring client that is triggering this event.\nThe URL of the monitoring client that is triggering this event.' } }, - withClientUrl(value): { - clientUrl: value, - }, - '#withComponent': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The component being affected by the event.\nThe component being affected by the event.' } }, - withComponent(value): { - component: value, - }, - '#withDetails': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The templated details to include with the message.\nA set of arbitrary key/value pairs that provide further detail about the incident.' } }, - withDetails(value): { - details: value, - }, - '#withDetailsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The templated details to include with the message.\nA set of arbitrary key/value pairs that provide further detail about the incident.' } }, - withDetailsMixin(value): { - details+: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The group to which the provided component belongs to.\nThe group to which the provided component belongs to.' } }, - withGroup(value): { - group: value, - }, - '#withIntegrationKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The PagerDuty API key.\nThe PagerDuty API key.' } }, - withIntegrationKeySecretRef(value): { - integrationKeySecretRef: value, - }, - '#withIntegrationKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The PagerDuty API key.\nThe PagerDuty API key.' } }, - withIntegrationKeySecretRefMixin(value): { - integrationKeySecretRef+: value, - }, - integrationKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - integrationKeySecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - integrationKeySecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - integrationKeySecretRef+: { - namespace: value, - }, - }, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - settingsSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - settingsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - settingsSecretRef+: { - namespace: value, - }, - }, - }, - '#withSeverity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The PagerDuty event severity level. Default is critical.\nThe PagerDuty event severity level. Default is `critical`.' } }, - withSeverity(value): { - severity: value, - }, - '#withSource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The unique location of the affected system.\nThe unique location of the affected system.' } }, - withSource(value): { - source: value, - }, - '#withSummary': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated summary message of the event.\nThe templated summary message of the event.' } }, - withSummary(value): { - summary: value, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe URL to send API requests to' } }, - withUrl(value): { - url: value, - }, - }, - '#withPushover': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Pushover. (see below for nested schema)\nA contact point that sends notifications to Pushover.' } }, - withPushover(value): { - spec+: { - parameters+: { - forProvider+: { - pushover: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPushoverMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Pushover. (see below for nested schema)\nA contact point that sends notifications to Pushover.' } }, - withPushoverMixin(value): { - spec+: { - parameters+: { - forProvider+: { - pushover+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - pushover+: - { - '#': { help: '', name: 'pushover' }, - '#withApiTokenSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Pushover API token.\nThe Pushover API token.' } }, - withApiTokenSecretRef(value): { - apiTokenSecretRef: value, - }, - '#withApiTokenSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Pushover API token.\nThe Pushover API token.' } }, - withApiTokenSecretRefMixin(value): { - apiTokenSecretRef+: value, - }, - apiTokenSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - apiTokenSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - apiTokenSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - apiTokenSecretRef+: { - namespace: value, - }, - }, - }, - '#withDevice': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'separated list of devices to which the event is associated.\nComma-separated list of devices to which the event is associated.' } }, - withDevice(value): { - device: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withExpire': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) How many seconds for which the notification will continue to be retried by Pushover.\nHow many seconds for which the notification will continue to be retried by Pushover.' } }, - withExpire(value): { - expire: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated notification message content.' } }, - withMessage(value): { - message: value, - }, - '#withOkPriority': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The priority level of the resolved event.\nThe priority level of the resolved event.' } }, - withOkPriority(value): { - okPriority: value, - }, - '#withOkSound': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The sound associated with the resolved notification.\nThe sound associated with the resolved notification.' } }, - withOkSound(value): { - okSound: value, - }, - '#withPriority': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The priority level of the event.\nThe priority level of the event.' } }, - withPriority(value): { - priority: value, - }, - '#withRetry': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) How often, in seconds, the Pushover servers will send the same notification to the user.\nHow often, in seconds, the Pushover servers will send the same notification to the user.' } }, - withRetry(value): { - retry: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - settingsSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - settingsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - settingsSecretRef+: { - namespace: value, - }, - }, - }, - '#withSound': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The sound associated with the notification.\nThe sound associated with the notification.' } }, - withSound(value): { - sound: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message.' } }, - withTitle(value): { - title: value, - }, - '#withUploadImage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to send images in the notification or not. Default is true. Requires Grafana to be configured to send images in notifications.\nWhether to send images in the notification or not. Default is true. Requires Grafana to be configured to send images in notifications.' } }, - withUploadImage(value=true): { - uploadImage: value, - }, - '#withUserKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Pushover user key.\nThe Pushover user key.' } }, - withUserKeySecretRef(value): { - userKeySecretRef: value, - }, - '#withUserKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Pushover user key.\nThe Pushover user key.' } }, - withUserKeySecretRefMixin(value): { - userKeySecretRef+: value, - }, - userKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - userKeySecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - userKeySecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - userKeySecretRef+: { - namespace: value, - }, - }, - }, - }, - '#withSensugo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to SensuGo. (see below for nested schema)\nA contact point that sends notifications to SensuGo.' } }, - withSensugo(value): { - spec+: { - parameters+: { - forProvider+: { - sensugo: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withSensugoMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to SensuGo. (see below for nested schema)\nA contact point that sends notifications to SensuGo.' } }, - withSensugoMixin(value): { - spec+: { - parameters+: { - forProvider+: { - sensugo+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - sensugo+: - { - '#': { help: '', name: 'sensugo' }, - '#withApiKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The OpsGenie API key to use.\nThe SensuGo API key.' } }, - withApiKeySecretRef(value): { - apiKeySecretRef: value, - }, - '#withApiKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The OpsGenie API key to use.\nThe SensuGo API key.' } }, - withApiKeySecretRefMixin(value): { - apiKeySecretRef+: value, - }, - apiKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - apiKeySecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - apiKeySecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - apiKeySecretRef+: { - namespace: value, - }, - }, - }, - '#withCheck': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The SensuGo check to which the event should be routed.\nThe SensuGo check to which the event should be routed.' } }, - withCheck(value): { - check: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withEntity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The entity being monitored.\nThe entity being monitored.' } }, - withEntity(value): { - entity: value, - }, - '#withHandler': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) A custom handler to execute in addition to the check.\nA custom handler to execute in addition to the check.' } }, - withHandler(value): { - handler: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nTemplated message content describing the alert.' } }, - withMessage(value): { - message: value, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The namespace in which the check resides.\nThe namespace in which the check resides.' } }, - withNamespace(value): { - namespace: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - settingsSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - settingsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - settingsSecretRef+: { - namespace: value, - }, - }, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe SensuGo URL to send requests to.' } }, - withUrl(value): { - url: value, - }, - }, - '#withSlack': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Slack. (see below for nested schema)\nA contact point that sends notifications to Slack.' } }, - withSlack(value): { - spec+: { - parameters+: { - forProvider+: { - slack: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withSlackMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Slack. (see below for nested schema)\nA contact point that sends notifications to Slack.' } }, - withSlackMixin(value): { - spec+: { - parameters+: { - forProvider+: { - slack+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - slack+: - { - '#': { help: '', name: 'slack' }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withEndpointUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Use this to override the Slack API endpoint URL to send requests to.\nUse this to override the Slack API endpoint URL to send requests to.' } }, - withEndpointUrl(value): { - endpointUrl: value, - }, - '#withIconEmoji': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of a Slack workspace emoji to use as the bot icon.\nThe name of a Slack workspace emoji to use as the bot icon.' } }, - withIconEmoji(value): { - iconEmoji: value, - }, - '#withIconUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) A URL of an image to use as the bot icon.\nA URL of an image to use as the bot icon.' } }, - withIconUrl(value): { - iconUrl: value, - }, - '#withMentionChannel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Describes how to ping the slack channel that messages are being sent to. Options are here for an @here ping, channel for @channel, or empty for no ping.\nDescribes how to ping the slack channel that messages are being sent to. Options are `here` for an @here ping, `channel` for @channel, or empty for no ping.' } }, - withMentionChannel(value): { - mentionChannel: value, - }, - '#withMentionGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'separated list of groups to mention in the message.\nComma-separated list of groups to mention in the message.' } }, - withMentionGroups(value): { - mentionGroups: value, - }, - '#withMentionUsers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'separated list of users to mention in the message.\nComma-separated list of users to mention in the message.' } }, - withMentionUsers(value): { - mentionUsers: value, - }, - '#withRecipient': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Channel, private group, or IM channel (can be an encoded ID or a name) to send messages to.\nChannel, private group, or IM channel (can be an encoded ID or a name) to send messages to.' } }, - withRecipient(value): { - recipient: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - settingsSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - settingsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - settingsSecretRef+: { - namespace: value, - }, - }, - }, - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Templated content of the message.\nTemplated content of the message.' } }, - withText(value): { - text: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nTemplated title of the message.' } }, - withTitle(value): { - title: value, - }, - '#withTokenSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nA Slack API token,for sending messages directly without the webhook method.' } }, - withTokenSecretRef(value): { - tokenSecretRef: value, - }, - '#withTokenSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nA Slack API token,for sending messages directly without the webhook method.' } }, - withTokenSecretRefMixin(value): { - tokenSecretRef+: value, - }, - tokenSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - tokenSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - tokenSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - tokenSecretRef+: { - namespace: value, - }, - }, - }, - '#withUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nA Slack webhook URL,for sending messages via the webhook method.' } }, - withUrlSecretRef(value): { - urlSecretRef: value, - }, - '#withUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nA Slack webhook URL,for sending messages via the webhook method.' } }, - withUrlSecretRefMixin(value): { - urlSecretRef+: value, - }, - urlSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - urlSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - urlSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - urlSecretRef+: { - namespace: value, - }, - }, - }, - '#withUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The user name to use when making a call to the Kafka REST Proxy\nUsername for the bot to use.' } }, - withUsername(value): { - username: value, - }, - }, - '#withSns': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana. (see below for nested schema)\nA contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana.' } }, - withSns(value): { - spec+: { - parameters+: { - forProvider+: { - sns: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withSnsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana. (see below for nested schema)\nA contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana.' } }, - withSnsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - sns+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - sns+: - { - '#': { help: '', name: 'sns' }, - '#withAccessKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) AWS access key ID used to authenticate with Amazon SNS.\nAWS access key ID used to authenticate with Amazon SNS.' } }, - withAccessKeySecretRef(value): { - accessKeySecretRef: value, - }, - '#withAccessKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) AWS access key ID used to authenticate with Amazon SNS.\nAWS access key ID used to authenticate with Amazon SNS.' } }, - withAccessKeySecretRefMixin(value): { - accessKeySecretRef+: value, - }, - accessKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - accessKeySecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - accessKeySecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - accessKeySecretRef+: { - namespace: value, - }, - }, - }, - '#withAssumeRoleArn': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Amazon Resource Name (ARN) of the role to assume to send notifications to Amazon SNS.\nThe Amazon Resource Name (ARN) of the role to assume to send notifications to Amazon SNS.' } }, - withAssumeRoleArn(value): { - assumeRoleArn: value, - }, - '#withAuthProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The authentication provider to use. Valid values are default, arn and keys. Default is default. Defaults to default.\nThe authentication provider to use. Valid values are `default`, `arn` and `keys`. Default is `default`. Defaults to `default`.' } }, - withAuthProvider(value): { - authProvider: value, - }, - '#withBody': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withBody(value): { - body: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withExternalId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The external ID to use when assuming the role.\nThe external ID to use when assuming the role.' } }, - withExternalId(value): { - externalId: value, - }, - '#withMessageFormat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The format of the message to send. Valid values are text, body and json. Default is text. Defaults to text.\nThe format of the message to send. Valid values are `text`, `body` and `json`. Default is `text`. Defaults to `text`.' } }, - withMessageFormat(value): { - messageFormat: value, - }, - '#withSecretKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) AWS secret access key used to authenticate with Amazon SNS.\nAWS secret access key used to authenticate with Amazon SNS.' } }, - withSecretKeySecretRef(value): { - secretKeySecretRef: value, - }, - '#withSecretKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) AWS secret access key used to authenticate with Amazon SNS.\nAWS secret access key used to authenticate with Amazon SNS.' } }, - withSecretKeySecretRefMixin(value): { - secretKeySecretRef+: value, - }, - secretKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - secretKeySecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - secretKeySecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - secretKeySecretRef+: { - namespace: value, - }, - }, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - settingsSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - settingsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - settingsSecretRef+: { - namespace: value, - }, - }, - }, - '#withSubject': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated subject line of the email. Defaults to “.' } }, - withSubject(value): { - subject: value, - }, - '#withTopic': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the Kafka topic to publish to.\nThe Amazon SNS topic to send notifications to.' } }, - withTopic(value): { - topic: value, - }, - }, - '#withTeams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Microsoft Teams. (see below for nested schema)\nA contact point that sends notifications to Microsoft Teams.' } }, - withTeams(value): { - spec+: { - parameters+: { - forProvider+: { - teams: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withTeamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Microsoft Teams. (see below for nested schema)\nA contact point that sends notifications to Microsoft Teams.' } }, - withTeamsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - teams+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - teams+: - { - '#': { help: '', name: 'teams' }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated message content to send.' } }, - withMessage(value): { - message: value, - }, - '#withSectionTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated subtitle for each message section.\nThe templated subtitle for each message section.' } }, - withSectionTitle(value): { - sectionTitle: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - settingsSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - settingsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - settingsSecretRef+: { - namespace: value, - }, - }, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message.' } }, - withTitle(value): { - title: value, - }, - '#withUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nA Teams webhook URL.' } }, - withUrlSecretRef(value): { - urlSecretRef: value, - }, - '#withUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nA Teams webhook URL.' } }, - withUrlSecretRefMixin(value): { - urlSecretRef+: value, - }, - urlSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - urlSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - urlSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - urlSecretRef+: { - namespace: value, - }, - }, - }, - }, - '#withTelegram': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Telegram. (see below for nested schema)\nA contact point that sends notifications to Telegram.' } }, - withTelegram(value): { - spec+: { - parameters+: { - forProvider+: { - telegram: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withTelegramMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Telegram. (see below for nested schema)\nA contact point that sends notifications to Telegram.' } }, - withTelegramMixin(value): { - spec+: { - parameters+: { - forProvider+: { - telegram+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - telegram+: - { - '#': { help: '', name: 'telegram' }, - '#withChatId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The chat ID to send messages to.\nThe chat ID to send messages to.' } }, - withChatId(value): { - chatId: value, - }, - '#withDisableNotifications': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) When set users will receive a notification with no sound.\nWhen set users will receive a notification with no sound.' } }, - withDisableNotifications(value=true): { - disableNotifications: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withDisableWebPagePreview': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) When set it disables link previews for links in the message.\nWhen set it disables link previews for links in the message.' } }, - withDisableWebPagePreview(value=true): { - disableWebPagePreview: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message.' } }, - withMessage(value): { - message: value, - }, - '#withMessageThreadId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the message thread to send the message to.\nThe ID of the message thread to send the message to.' } }, - withMessageThreadId(value): { - messageThreadId: value, - }, - '#withParseMode': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Mode for parsing entities in the message text. Supported: None, Markdown, MarkdownV2, and HTML. HTML is the default.\nMode for parsing entities in the message text. Supported: None, Markdown, MarkdownV2, and HTML. HTML is the default.' } }, - withParseMode(value): { - parseMode: value, - }, - '#withProtectContent': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) When set it protects the contents of the message from forwarding and saving.\nWhen set it protects the contents of the message from forwarding and saving.' } }, - withProtectContent(value=true): { - protectContent: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - settingsSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - settingsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - settingsSecretRef+: { - namespace: value, - }, - }, - }, - '#withTokenSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe Telegram bot token.' } }, - withTokenSecretRef(value): { - tokenSecretRef: value, - }, - '#withTokenSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe Telegram bot token.' } }, - withTokenSecretRefMixin(value): { - tokenSecretRef+: value, - }, - tokenSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - tokenSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - tokenSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - tokenSecretRef+: { - namespace: value, - }, - }, - }, - }, - '#withThreema': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Threema. (see below for nested schema)\nA contact point that sends notifications to Threema.' } }, - withThreema(value): { - spec+: { - parameters+: { - forProvider+: { - threema: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withThreemaMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Threema. (see below for nested schema)\nA contact point that sends notifications to Threema.' } }, - withThreemaMixin(value): { - spec+: { - parameters+: { - forProvider+: { - threema+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - threema+: - { - '#': { help: '', name: 'threema' }, - '#withApiSecretSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Threema API key.\nThe Threema API key.' } }, - withApiSecretSecretRef(value): { - apiSecretSecretRef: value, - }, - '#withApiSecretSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Threema API key.\nThe Threema API key.' } }, - withApiSecretSecretRefMixin(value): { - apiSecretSecretRef+: value, - }, - apiSecretSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - apiSecretSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - apiSecretSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - apiSecretSecretRef+: { - namespace: value, - }, - }, - }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated description of the Kafka message.\nThe templated description of the message.' } }, - withDescription(value): { - description: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withGatewayId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Threema gateway ID.\nThe Threema gateway ID.' } }, - withGatewayId(value): { - gatewayId: value, - }, - '#withRecipientId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the recipient of the message.\nThe ID of the recipient of the message.' } }, - withRecipientId(value): { - recipientId: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - settingsSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - settingsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - settingsSecretRef+: { - namespace: value, - }, - }, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message.' } }, - withTitle(value): { - title: value, - }, - }, - '#withVictorops': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to VictorOps (now known as Splunk OnCall). (see below for nested schema)\nA contact point that sends notifications to VictorOps (now known as Splunk OnCall).' } }, - withVictorops(value): { - spec+: { - parameters+: { - forProvider+: { - victorops: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withVictoropsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to VictorOps (now known as Splunk OnCall). (see below for nested schema)\nA contact point that sends notifications to VictorOps (now known as Splunk OnCall).' } }, - withVictoropsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - victorops+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - victorops+: - { - '#': { help: '', name: 'victorops' }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated description of the Kafka message.\nTemplated description of the message.' } }, - withDescription(value): { - description: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withMessageType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "either 'link' or 'actionCard'\nThe VictorOps alert state - typically either `CRITICAL` or `RECOVERY`." } }, - withMessageType(value): { - messageType: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - settingsSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - settingsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - settingsSecretRef+: { - namespace: value, - }, - }, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nTemplated title to display.' } }, - withTitle(value): { - title: value, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe VictorOps webhook URL.' } }, - withUrl(value): { - url: value, - }, - }, - '#withWebex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Cisco Webex. (see below for nested schema)\nA contact point that sends notifications to Cisco Webex.' } }, - withWebex(value): { - spec+: { - parameters+: { - forProvider+: { - webex: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withWebexMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Cisco Webex. (see below for nested schema)\nA contact point that sends notifications to Cisco Webex.' } }, - withWebexMixin(value): { - spec+: { - parameters+: { - forProvider+: { - webex+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - webex+: - { - '#': { help: '', name: 'webex' }, - '#withApiUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL to send webhook requests to.\nThe URL to send webhook requests to.' } }, - withApiUrl(value): { - apiUrl: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated title of the message to send.' } }, - withMessage(value): { - message: value, - }, - '#withRoomId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the Webex Teams room where to send the messages.\nID of the Webex Teams room where to send the messages.' } }, - withRoomId(value): { - roomId: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - settingsSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - settingsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - settingsSecretRef+: { - namespace: value, - }, - }, - }, - '#withTokenSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe bearer token used to authorize the client.' } }, - withTokenSecretRef(value): { - tokenSecretRef: value, - }, - '#withTokenSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe bearer token used to authorize the client.' } }, - withTokenSecretRefMixin(value): { - tokenSecretRef+: value, - }, - tokenSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - tokenSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - tokenSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - tokenSecretRef+: { - namespace: value, - }, - }, - }, - }, - '#withWebhook': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config (see below for nested schema)\nA contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config' } }, - withWebhook(value): { - spec+: { - parameters+: { - forProvider+: { - webhook: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withWebhookMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config (see below for nested schema)\nA contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config' } }, - withWebhookMixin(value): { - spec+: { - parameters+: { - forProvider+: { - webhook+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - webhook+: - { - '#': { help: '', name: 'webhook' }, - '#withAuthorizationCredentialsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'attaches an auth header with this value. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.' } }, - withAuthorizationCredentialsSecretRef(value): { - authorizationCredentialsSecretRef: value, - }, - '#withAuthorizationCredentialsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'attaches an auth header with this value. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.' } }, - withAuthorizationCredentialsSecretRefMixin(value): { - authorizationCredentialsSecretRef+: value, - }, - authorizationCredentialsSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - authorizationCredentialsSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - authorizationCredentialsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - authorizationCredentialsSecretRef+: { - namespace: value, - }, - }, - }, - '#withAuthorizationScheme': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'attaches an auth header with this name. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters.' } }, - withAuthorizationScheme(value): { - authorizationScheme: value, - }, - '#withBasicAuthPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, - withBasicAuthPasswordSecretRef(value): { - basicAuthPasswordSecretRef: value, - }, - '#withBasicAuthPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, - withBasicAuthPasswordSecretRefMixin(value): { - basicAuthPasswordSecretRef+: value, - }, - basicAuthPasswordSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - basicAuthPasswordSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - basicAuthPasswordSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - basicAuthPasswordSecretRef+: { - namespace: value, - }, - }, - }, - '#withBasicAuthUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The username component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, - withBasicAuthUser(value): { - basicAuthUser: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withHttpMethod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The HTTP method to use in the request. Defaults to POST.\nThe HTTP method to use in the request. Defaults to `POST`.' } }, - withHttpMethod(value): { - httpMethod: value, - }, - '#withMaxAlerts': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.\nThe maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.' } }, - withMaxAlerts(value): { - maxAlerts: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nCustom message. You can use template variables.' } }, - withMessage(value): { - message: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - settingsSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - settingsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - settingsSecretRef+: { - namespace: value, - }, - }, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nTemplated title of the message.' } }, - withTitle(value): { - title: value, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe URL to send webhook requests to.' } }, - withUrl(value): { - url: value, - }, - }, - '#withWecom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to WeCom. (see below for nested schema)\nA contact point that sends notifications to WeCom.' } }, - withWecom(value): { - spec+: { - parameters+: { - forProvider+: { - wecom: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withWecomMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to WeCom. (see below for nested schema)\nA contact point that sends notifications to WeCom.' } }, - withWecomMixin(value): { - spec+: { - parameters+: { - forProvider+: { - wecom+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - wecom+: - { - '#': { help: '', name: 'wecom' }, - '#withAgentId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Agent ID added to the request payload when using APIAPP.\nAgent ID added to the request payload when using APIAPP.' } }, - withAgentId(value): { - agentId: value, - }, - '#withCorpId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Corp ID used to get token when using APIAPP.\nCorp ID used to get token when using APIAPP.' } }, - withCorpId(value): { - corpId: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message to send.' } }, - withMessage(value): { - message: value, - }, - '#withMsgType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of them message. Supported: markdown, text. Default: text.\nThe type of them message. Supported: markdown, text. Default: text.' } }, - withMsgType(value): { - msgType: value, - }, - '#withSecretSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP.\nThe secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP.' } }, - withSecretSecretRef(value): { - secretSecretRef: value, - }, - '#withSecretSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP.\nThe secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP.' } }, - withSecretSecretRefMixin(value): { - secretSecretRef+: value, - }, - secretSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - secretSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - secretSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - secretSecretRef+: { - namespace: value, - }, - }, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to map[].\nAdditional custom properties to attach to the notifier. Defaults to `map[]`.' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - settingsSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - settingsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - settingsSecretRef+: { - namespace: value, - }, - }, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message to send.' } }, - withTitle(value): { - title: value, - }, - '#withToUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The ID of user that should receive the message. Multiple entries should be separated by '|'. Default: @all.\nThe ID of user that should receive the message. Multiple entries should be separated by '|'. Default: @all." } }, - withToUser(value): { - toUser: value, - }, - '#withUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe WeCom webhook URL. Required if using GroupRobot.' } }, - withUrlSecretRef(value): { - urlSecretRef: value, - }, - '#withUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe WeCom webhook URL. Required if using GroupRobot.' } }, - withUrlSecretRefMixin(value): { - urlSecretRef+: value, - }, - urlSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - urlSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - urlSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - urlSecretRef+: { - namespace: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withAlertmanager': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to other Alertmanager instances. (see below for nested schema)\nA contact point that sends notifications to other Alertmanager instances.' } }, - withAlertmanager(value): { - spec+: { - parameters+: { - initProvider+: { - alertmanager: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withAlertmanagerMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to other Alertmanager instances. (see below for nested schema)\nA contact point that sends notifications to other Alertmanager instances.' } }, - withAlertmanagerMixin(value): { - spec+: { - parameters+: { - initProvider+: { - alertmanager+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - alertmanager+: - { - '#': { help: '', name: 'alertmanager' }, - '#withBasicAuthPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe password component of the basic auth credentials to use.' } }, - withBasicAuthPasswordSecretRef(value): { - basicAuthPasswordSecretRef: value, - }, - '#withBasicAuthPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe password component of the basic auth credentials to use.' } }, - withBasicAuthPasswordSecretRefMixin(value): { - basicAuthPasswordSecretRef+: value, - }, - basicAuthPasswordSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - basicAuthPasswordSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - basicAuthPasswordSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - basicAuthPasswordSecretRef+: { - namespace: value, - }, - }, - }, - '#withBasicAuthUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The username component of the basic auth credentials to use.\nThe username component of the basic auth credentials to use.' } }, - withBasicAuthUser(value): { - basicAuthUser: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe URL of the Alertmanager instance.' } }, - withUrl(value): { - url: value, - }, - }, - '#withDingding': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to DingDing. (see below for nested schema)\nA contact point that sends notifications to DingDing.' } }, - withDingding(value): { - spec+: { - parameters+: { - initProvider+: { - dingding: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withDingdingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to DingDing. (see below for nested schema)\nA contact point that sends notifications to DingDing.' } }, - withDingdingMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dingding+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - dingding+: - { - '#': { help: '', name: 'dingding' }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message.' } }, - withMessage(value): { - message: value, - }, - '#withMessageType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "either 'link' or 'actionCard'\nThe format of message to send - either 'link' or 'actionCard'" } }, - withMessageType(value): { - messageType: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message.' } }, - withTitle(value): { - title: value, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe DingDing webhook URL.' } }, - withUrl(value): { - url: value, - }, - }, - '#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Defaults to false. Defaults to `false`.' } }, - withDisableProvenance(value=true): { - spec+: { - parameters+: { - initProvider+: { - disableProvenance: value, - }, - }, - }, - }, - '#withDiscord': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications as Discord messages (see below for nested schema)\nA contact point that sends notifications as Discord messages' } }, - withDiscord(value): { - spec+: { - parameters+: { - initProvider+: { - discord: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withDiscordMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications as Discord messages (see below for nested schema)\nA contact point that sends notifications as Discord messages' } }, - withDiscordMixin(value): { - spec+: { - parameters+: { - initProvider+: { - discord+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - discord+: - { - '#': { help: '', name: 'discord' }, - '#withAvatarUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of a custom avatar image to use. Defaults to “.\nThe URL of a custom avatar image to use. Defaults to “.' } }, - withAvatarUrl(value): { - avatarUrl: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message. Defaults to “.' } }, - withMessage(value): { - message: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated content of the title.' } }, - withTitle(value): { - title: value, - }, - '#withUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe discord webhook URL.' } }, - withUrlSecretRef(value): { - urlSecretRef: value, - }, - '#withUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe discord webhook URL.' } }, - withUrlSecretRefMixin(value): { - urlSecretRef+: value, - }, - urlSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - urlSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - urlSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - urlSecretRef+: { - namespace: value, - }, - }, - }, - '#withUseDiscordUsername': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to use the bot account's plain username instead of \"Grafana.\" Defaults to false.\nWhether to use the bot account's plain username instead of \"Grafana.\" Defaults to `false`." } }, - withUseDiscordUsername(value=true): { - useDiscordUsername: value, - }, - }, - '#withEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to an email address. (see below for nested schema)\nA contact point that sends notifications to an email address.' } }, - withEmail(value): { - spec+: { - parameters+: { - initProvider+: { - email: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withEmailMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to an email address. (see below for nested schema)\nA contact point that sends notifications to an email address.' } }, - withEmailMixin(value): { - spec+: { - parameters+: { - initProvider+: { - email+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - email+: - { - '#': { help: '', name: 'email' }, - '#withAddresses': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) The addresses to send emails to.\nThe addresses to send emails to.' } }, - withAddresses(value): { - addresses: - (if std.isArray(value) - then value - else [value]), - }, - '#withAddressesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) The addresses to send emails to.\nThe addresses to send emails to.' } }, - withAddressesMixin(value): { - addresses+: - (if std.isArray(value) - then value - else [value]), - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the email. Defaults to “.' } }, - withMessage(value): { - message: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - '#withSingleEmail': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to send a single email CC'ing all addresses, rather than a separate email to each address. Defaults to false.\nWhether to send a single email CC'ing all addresses, rather than a separate email to each address. Defaults to `false`." } }, - withSingleEmail(value=true): { - singleEmail: value, - }, - '#withSubject': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated subject line of the email. Defaults to “.\nThe templated subject line of the email. Defaults to “.' } }, - withSubject(value): { - subject: value, - }, - }, - '#withGooglechat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Google Chat. (see below for nested schema)\nA contact point that sends notifications to Google Chat.' } }, - withGooglechat(value): { - spec+: { - parameters+: { - initProvider+: { - googlechat: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withGooglechatMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Google Chat. (see below for nested schema)\nA contact point that sends notifications to Google Chat.' } }, - withGooglechatMixin(value): { - spec+: { - parameters+: { - initProvider+: { - googlechat+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - googlechat+: - { - '#': { help: '', name: 'googlechat' }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message.' } }, - withMessage(value): { - message: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated content of the title.' } }, - withTitle(value): { - title: value, - }, - '#withUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe Google Chat webhook URL.' } }, - withUrlSecretRef(value): { - urlSecretRef: value, - }, - '#withUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe Google Chat webhook URL.' } }, - withUrlSecretRefMixin(value): { - urlSecretRef+: value, - }, - urlSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - urlSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - urlSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - urlSecretRef+: { - namespace: value, - }, - }, - }, - }, - '#withKafka': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that publishes notifications to Apache Kafka topics. (see below for nested schema)\nA contact point that publishes notifications to Apache Kafka topics.' } }, - withKafka(value): { - spec+: { - parameters+: { - initProvider+: { - kafka: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withKafkaMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that publishes notifications to Apache Kafka topics. (see below for nested schema)\nA contact point that publishes notifications to Apache Kafka topics.' } }, - withKafkaMixin(value): { - spec+: { - parameters+: { - initProvider+: { - kafka+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - kafka+: - { - '#': { help: '', name: 'kafka' }, - '#withApiVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The API version to use when contacting the Kafka REST Server. Supported: v2 (default) and v3. Defaults to v2.\nThe API version to use when contacting the Kafka REST Server. Supported: v2 (default) and v3. Defaults to `v2`.' } }, - withApiVersion(value): { - apiVersion: value, - }, - '#withClusterId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The Id of cluster to use when contacting the Kafka REST Server. Required api_version to be 'v3'\nThe Id of cluster to use when contacting the Kafka REST Server. Required api_version to be 'v3'" } }, - withClusterId(value): { - clusterId: value, - }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated description of the Kafka message.\nThe templated description of the Kafka message.' } }, - withDescription(value): { - description: value, - }, - '#withDetails': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated details to include with the message.\nThe templated details to include with the message.' } }, - withDetails(value): { - details: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password to use when making a call to the Kafka REST Proxy\nThe password to use when making a call to the Kafka REST Proxy' } }, - withPasswordSecretRef(value): { - passwordSecretRef: value, - }, - '#withPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password to use when making a call to the Kafka REST Proxy\nThe password to use when making a call to the Kafka REST Proxy' } }, - withPasswordSecretRefMixin(value): { - passwordSecretRef+: value, - }, - passwordSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - passwordSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - passwordSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - passwordSecretRef+: { - namespace: value, - }, - }, - }, - '#withRestProxyUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The URL of the Kafka REST proxy to send requests to.\nThe URL of the Kafka REST proxy to send requests to.' } }, - withRestProxyUrlSecretRef(value): { - restProxyUrlSecretRef: value, - }, - '#withRestProxyUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The URL of the Kafka REST proxy to send requests to.\nThe URL of the Kafka REST proxy to send requests to.' } }, - withRestProxyUrlSecretRefMixin(value): { - restProxyUrlSecretRef+: value, - }, - restProxyUrlSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - restProxyUrlSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - restProxyUrlSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - restProxyUrlSecretRef+: { - namespace: value, - }, - }, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - '#withTopic': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the Kafka topic to publish to.\nThe name of the Kafka topic to publish to.' } }, - withTopic(value): { - topic: value, - }, - '#withUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The user name to use when making a call to the Kafka REST Proxy\nThe user name to use when making a call to the Kafka REST Proxy' } }, - withUsername(value): { - username: value, - }, - }, - '#withLine': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to LINE.me. (see below for nested schema)\nA contact point that sends notifications to LINE.me.' } }, - withLine(value): { - spec+: { - parameters+: { - initProvider+: { - line: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withLineMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to LINE.me. (see below for nested schema)\nA contact point that sends notifications to LINE.me.' } }, - withLineMixin(value): { - spec+: { - parameters+: { - initProvider+: { - line+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - line+: - { - '#': { help: '', name: 'line' }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated description of the Kafka message.\nThe templated description of the message.' } }, - withDescription(value): { - description: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message.' } }, - withTitle(value): { - title: value, - }, - '#withTokenSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe bearer token used to authorize the client.' } }, - withTokenSecretRef(value): { - tokenSecretRef: value, - }, - '#withTokenSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe bearer token used to authorize the client.' } }, - withTokenSecretRefMixin(value): { - tokenSecretRef+: value, - }, - tokenSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - tokenSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - tokenSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - tokenSecretRef+: { - namespace: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the contact point.\nThe name of the contact point.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withOncall': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Call. (see below for nested schema)\nA contact point that sends notifications to Grafana On-Call.' } }, - withOncall(value): { - spec+: { - parameters+: { - initProvider+: { - oncall: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withOncallMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Call. (see below for nested schema)\nA contact point that sends notifications to Grafana On-Call.' } }, - withOncallMixin(value): { - spec+: { - parameters+: { - initProvider+: { - oncall+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - oncall+: - { - '#': { help: '', name: 'oncall' }, - '#withAuthorizationCredentialsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'attaches an auth header with this value. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.' } }, - withAuthorizationCredentialsSecretRef(value): { - authorizationCredentialsSecretRef: value, - }, - '#withAuthorizationCredentialsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'attaches an auth header with this value. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.' } }, - withAuthorizationCredentialsSecretRefMixin(value): { - authorizationCredentialsSecretRef+: value, - }, - authorizationCredentialsSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - authorizationCredentialsSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - authorizationCredentialsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - authorizationCredentialsSecretRef+: { - namespace: value, - }, - }, - }, - '#withAuthorizationScheme': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'attaches an auth header with this name. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters.' } }, - withAuthorizationScheme(value): { - authorizationScheme: value, - }, - '#withBasicAuthPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, - withBasicAuthPasswordSecretRef(value): { - basicAuthPasswordSecretRef: value, - }, - '#withBasicAuthPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, - withBasicAuthPasswordSecretRefMixin(value): { - basicAuthPasswordSecretRef+: value, - }, - basicAuthPasswordSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - basicAuthPasswordSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - basicAuthPasswordSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - basicAuthPasswordSecretRef+: { - namespace: value, - }, - }, - }, - '#withBasicAuthUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The username component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, - withBasicAuthUser(value): { - basicAuthUser: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withHttpMethod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The HTTP method to use in the request. Defaults to POST.\nThe HTTP method to use in the request. Defaults to `POST`.' } }, - withHttpMethod(value): { - httpMethod: value, - }, - '#withMaxAlerts': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.\nThe maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.' } }, - withMaxAlerts(value): { - maxAlerts: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nCustom message. You can use template variables.' } }, - withMessage(value): { - message: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nTemplated title of the message.' } }, - withTitle(value): { - title: value, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe URL to send webhook requests to.' } }, - withUrl(value): { - url: value, - }, - }, - '#withOpsgenie': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to OpsGenie. (see below for nested schema)\nA contact point that sends notifications to OpsGenie.' } }, - withOpsgenie(value): { - spec+: { - parameters+: { - initProvider+: { - opsgenie: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withOpsgenieMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to OpsGenie. (see below for nested schema)\nA contact point that sends notifications to OpsGenie.' } }, - withOpsgenieMixin(value): { - spec+: { - parameters+: { - initProvider+: { - opsgenie+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - opsgenie+: - { - '#': { help: '', name: 'opsgenie' }, - '#withApiKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The OpsGenie API key to use.\nThe OpsGenie API key to use.' } }, - withApiKeySecretRef(value): { - apiKeySecretRef: value, - }, - '#withApiKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The OpsGenie API key to use.\nThe OpsGenie API key to use.' } }, - withApiKeySecretRefMixin(value): { - apiKeySecretRef+: value, - }, - apiKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - apiKeySecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - apiKeySecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - apiKeySecretRef+: { - namespace: value, - }, - }, - }, - '#withAutoClose': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'close alerts in OpsGenie when they resolve in the Alertmanager.\nWhether to auto-close alerts in OpsGenie when they resolve in the Alertmanager.' } }, - withAutoClose(value=true): { - autoClose: value, - }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated description of the Kafka message.\nA templated high-level description to use for the alert.' } }, - withDescription(value): { - description: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message.' } }, - withMessage(value): { - message: value, - }, - '#withOverridePriority': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to allow the alert priority to be configured via the value of the og_priority annotation on the alert.\nWhether to allow the alert priority to be configured via the value of the `og_priority` annotation on the alert.' } }, - withOverridePriority(value=true): { - overridePriority: value, - }, - '#withResponders': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+. (see below for nested schema)\nTeams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+.' } }, - withResponders(value): { - responders: - (if std.isArray(value) - then value - else [value]), - }, - '#withRespondersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+. (see below for nested schema)\nTeams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+.' } }, - withRespondersMixin(value): { - responders+: - (if std.isArray(value) - then value - else [value]), - }, - responders+: - { - '#': { help: '', name: 'responders' }, - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of this resource.\nID of the responder. Must be specified if name and username are empty.' } }, - withId(value): { - id: value, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the contact point.\nName of the responder. Must be specified if username and id are empty.' } }, - withName(value): { - name: value, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Type of the responder. Supported: team, teams, user, escalation, schedule or a template that is expanded to one of these values.\nType of the responder. Supported: team, teams, user, escalation, schedule or a template that is expanded to one of these values.' } }, - withType(value): { - type: value, - }, - '#withUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The user name to use when making a call to the Kafka REST Proxy\nUser name of the responder. Must be specified if name and id are empty.' } }, - withUsername(value): { - username: value, - }, - }, - '#withSendTagsAs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Whether to send annotations to OpsGenie as Tags, Details, or both. Supported values are tags, details, both, or empty to use the default behavior of Tags.\nWhether to send annotations to OpsGenie as Tags, Details, or both. Supported values are `tags`, `details`, `both`, or empty to use the default behavior of Tags.' } }, - withSendTagsAs(value): { - sendTagsAs: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nAllows customization of the OpsGenie API URL.' } }, - withUrl(value): { - url: value, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withPagerduty': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to PagerDuty. (see below for nested schema)\nA contact point that sends notifications to PagerDuty.' } }, - withPagerduty(value): { - spec+: { - parameters+: { - initProvider+: { - pagerduty: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPagerdutyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to PagerDuty. (see below for nested schema)\nA contact point that sends notifications to PagerDuty.' } }, - withPagerdutyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - pagerduty+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - pagerduty+: - { - '#': { help: '', name: 'pagerduty' }, - '#withClass': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The class or type of event, for example ping failure.\nThe class or type of event, for example `ping failure`.' } }, - withClass(value): { - class: value, - }, - '#withClient': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the monitoring client that is triggering this event.\nThe name of the monitoring client that is triggering this event.' } }, - withClient(value): { - client: value, - }, - '#withClientUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the monitoring client that is triggering this event.\nThe URL of the monitoring client that is triggering this event.' } }, - withClientUrl(value): { - clientUrl: value, - }, - '#withComponent': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The component being affected by the event.\nThe component being affected by the event.' } }, - withComponent(value): { - component: value, - }, - '#withDetails': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The templated details to include with the message.\nA set of arbitrary key/value pairs that provide further detail about the incident.' } }, - withDetails(value): { - details: value, - }, - '#withDetailsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The templated details to include with the message.\nA set of arbitrary key/value pairs that provide further detail about the incident.' } }, - withDetailsMixin(value): { - details+: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The group to which the provided component belongs to.\nThe group to which the provided component belongs to.' } }, - withGroup(value): { - group: value, - }, - '#withIntegrationKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The PagerDuty API key.\nThe PagerDuty API key.' } }, - withIntegrationKeySecretRef(value): { - integrationKeySecretRef: value, - }, - '#withIntegrationKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The PagerDuty API key.\nThe PagerDuty API key.' } }, - withIntegrationKeySecretRefMixin(value): { - integrationKeySecretRef+: value, - }, - integrationKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - integrationKeySecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - integrationKeySecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - integrationKeySecretRef+: { - namespace: value, - }, - }, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - '#withSeverity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The PagerDuty event severity level. Default is critical.\nThe PagerDuty event severity level. Default is `critical`.' } }, - withSeverity(value): { - severity: value, - }, - '#withSource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The unique location of the affected system.\nThe unique location of the affected system.' } }, - withSource(value): { - source: value, - }, - '#withSummary': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated summary message of the event.\nThe templated summary message of the event.' } }, - withSummary(value): { - summary: value, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe URL to send API requests to' } }, - withUrl(value): { - url: value, - }, - }, - '#withPushover': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Pushover. (see below for nested schema)\nA contact point that sends notifications to Pushover.' } }, - withPushover(value): { - spec+: { - parameters+: { - initProvider+: { - pushover: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPushoverMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Pushover. (see below for nested schema)\nA contact point that sends notifications to Pushover.' } }, - withPushoverMixin(value): { - spec+: { - parameters+: { - initProvider+: { - pushover+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - pushover+: - { - '#': { help: '', name: 'pushover' }, - '#withApiTokenSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Pushover API token.\nThe Pushover API token.' } }, - withApiTokenSecretRef(value): { - apiTokenSecretRef: value, - }, - '#withApiTokenSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Pushover API token.\nThe Pushover API token.' } }, - withApiTokenSecretRefMixin(value): { - apiTokenSecretRef+: value, - }, - apiTokenSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - apiTokenSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - apiTokenSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - apiTokenSecretRef+: { - namespace: value, - }, - }, - }, - '#withDevice': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'separated list of devices to which the event is associated.\nComma-separated list of devices to which the event is associated.' } }, - withDevice(value): { - device: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withExpire': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) How many seconds for which the notification will continue to be retried by Pushover.\nHow many seconds for which the notification will continue to be retried by Pushover.' } }, - withExpire(value): { - expire: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated notification message content.' } }, - withMessage(value): { - message: value, - }, - '#withOkPriority': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The priority level of the resolved event.\nThe priority level of the resolved event.' } }, - withOkPriority(value): { - okPriority: value, - }, - '#withOkSound': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The sound associated with the resolved notification.\nThe sound associated with the resolved notification.' } }, - withOkSound(value): { - okSound: value, - }, - '#withPriority': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The priority level of the event.\nThe priority level of the event.' } }, - withPriority(value): { - priority: value, - }, - '#withRetry': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) How often, in seconds, the Pushover servers will send the same notification to the user.\nHow often, in seconds, the Pushover servers will send the same notification to the user.' } }, - withRetry(value): { - retry: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - '#withSound': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The sound associated with the notification.\nThe sound associated with the notification.' } }, - withSound(value): { - sound: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message.' } }, - withTitle(value): { - title: value, - }, - '#withUploadImage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to send images in the notification or not. Default is true. Requires Grafana to be configured to send images in notifications.\nWhether to send images in the notification or not. Default is true. Requires Grafana to be configured to send images in notifications.' } }, - withUploadImage(value=true): { - uploadImage: value, - }, - '#withUserKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Pushover user key.\nThe Pushover user key.' } }, - withUserKeySecretRef(value): { - userKeySecretRef: value, - }, - '#withUserKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Pushover user key.\nThe Pushover user key.' } }, - withUserKeySecretRefMixin(value): { - userKeySecretRef+: value, - }, - userKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - userKeySecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - userKeySecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - userKeySecretRef+: { - namespace: value, - }, - }, - }, - }, - '#withSensugo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to SensuGo. (see below for nested schema)\nA contact point that sends notifications to SensuGo.' } }, - withSensugo(value): { - spec+: { - parameters+: { - initProvider+: { - sensugo: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withSensugoMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to SensuGo. (see below for nested schema)\nA contact point that sends notifications to SensuGo.' } }, - withSensugoMixin(value): { - spec+: { - parameters+: { - initProvider+: { - sensugo+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - sensugo+: - { - '#': { help: '', name: 'sensugo' }, - '#withApiKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The OpsGenie API key to use.\nThe SensuGo API key.' } }, - withApiKeySecretRef(value): { - apiKeySecretRef: value, - }, - '#withApiKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The OpsGenie API key to use.\nThe SensuGo API key.' } }, - withApiKeySecretRefMixin(value): { - apiKeySecretRef+: value, - }, - apiKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - apiKeySecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - apiKeySecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - apiKeySecretRef+: { - namespace: value, - }, - }, - }, - '#withCheck': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The SensuGo check to which the event should be routed.\nThe SensuGo check to which the event should be routed.' } }, - withCheck(value): { - check: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withEntity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The entity being monitored.\nThe entity being monitored.' } }, - withEntity(value): { - entity: value, - }, - '#withHandler': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) A custom handler to execute in addition to the check.\nA custom handler to execute in addition to the check.' } }, - withHandler(value): { - handler: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nTemplated message content describing the alert.' } }, - withMessage(value): { - message: value, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The namespace in which the check resides.\nThe namespace in which the check resides.' } }, - withNamespace(value): { - namespace: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe SensuGo URL to send requests to.' } }, - withUrl(value): { - url: value, - }, - }, - '#withSlack': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Slack. (see below for nested schema)\nA contact point that sends notifications to Slack.' } }, - withSlack(value): { - spec+: { - parameters+: { - initProvider+: { - slack: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withSlackMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Slack. (see below for nested schema)\nA contact point that sends notifications to Slack.' } }, - withSlackMixin(value): { - spec+: { - parameters+: { - initProvider+: { - slack+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - slack+: - { - '#': { help: '', name: 'slack' }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withEndpointUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Use this to override the Slack API endpoint URL to send requests to.\nUse this to override the Slack API endpoint URL to send requests to.' } }, - withEndpointUrl(value): { - endpointUrl: value, - }, - '#withIconEmoji': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of a Slack workspace emoji to use as the bot icon.\nThe name of a Slack workspace emoji to use as the bot icon.' } }, - withIconEmoji(value): { - iconEmoji: value, - }, - '#withIconUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) A URL of an image to use as the bot icon.\nA URL of an image to use as the bot icon.' } }, - withIconUrl(value): { - iconUrl: value, - }, - '#withMentionChannel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Describes how to ping the slack channel that messages are being sent to. Options are here for an @here ping, channel for @channel, or empty for no ping.\nDescribes how to ping the slack channel that messages are being sent to. Options are `here` for an @here ping, `channel` for @channel, or empty for no ping.' } }, - withMentionChannel(value): { - mentionChannel: value, - }, - '#withMentionGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'separated list of groups to mention in the message.\nComma-separated list of groups to mention in the message.' } }, - withMentionGroups(value): { - mentionGroups: value, - }, - '#withMentionUsers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'separated list of users to mention in the message.\nComma-separated list of users to mention in the message.' } }, - withMentionUsers(value): { - mentionUsers: value, - }, - '#withRecipient': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Channel, private group, or IM channel (can be an encoded ID or a name) to send messages to.\nChannel, private group, or IM channel (can be an encoded ID or a name) to send messages to.' } }, - withRecipient(value): { - recipient: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Templated content of the message.\nTemplated content of the message.' } }, - withText(value): { - text: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nTemplated title of the message.' } }, - withTitle(value): { - title: value, - }, - '#withTokenSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nA Slack API token,for sending messages directly without the webhook method.' } }, - withTokenSecretRef(value): { - tokenSecretRef: value, - }, - '#withTokenSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nA Slack API token,for sending messages directly without the webhook method.' } }, - withTokenSecretRefMixin(value): { - tokenSecretRef+: value, - }, - tokenSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - tokenSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - tokenSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - tokenSecretRef+: { - namespace: value, - }, - }, - }, - '#withUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nA Slack webhook URL,for sending messages via the webhook method.' } }, - withUrlSecretRef(value): { - urlSecretRef: value, - }, - '#withUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nA Slack webhook URL,for sending messages via the webhook method.' } }, - withUrlSecretRefMixin(value): { - urlSecretRef+: value, - }, - urlSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - urlSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - urlSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - urlSecretRef+: { - namespace: value, - }, - }, - }, - '#withUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The user name to use when making a call to the Kafka REST Proxy\nUsername for the bot to use.' } }, - withUsername(value): { - username: value, - }, - }, - '#withSns': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana. (see below for nested schema)\nA contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana.' } }, - withSns(value): { - spec+: { - parameters+: { - initProvider+: { - sns: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withSnsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana. (see below for nested schema)\nA contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana.' } }, - withSnsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - sns+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - sns+: - { - '#': { help: '', name: 'sns' }, - '#withAccessKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) AWS access key ID used to authenticate with Amazon SNS.\nAWS access key ID used to authenticate with Amazon SNS.' } }, - withAccessKeySecretRef(value): { - accessKeySecretRef: value, - }, - '#withAccessKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) AWS access key ID used to authenticate with Amazon SNS.\nAWS access key ID used to authenticate with Amazon SNS.' } }, - withAccessKeySecretRefMixin(value): { - accessKeySecretRef+: value, - }, - accessKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - accessKeySecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - accessKeySecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - accessKeySecretRef+: { - namespace: value, - }, - }, - }, - '#withAssumeRoleArn': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Amazon Resource Name (ARN) of the role to assume to send notifications to Amazon SNS.\nThe Amazon Resource Name (ARN) of the role to assume to send notifications to Amazon SNS.' } }, - withAssumeRoleArn(value): { - assumeRoleArn: value, - }, - '#withAuthProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The authentication provider to use. Valid values are default, arn and keys. Default is default. Defaults to default.\nThe authentication provider to use. Valid values are `default`, `arn` and `keys`. Default is `default`. Defaults to `default`.' } }, - withAuthProvider(value): { - authProvider: value, - }, - '#withBody': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withBody(value): { - body: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withExternalId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The external ID to use when assuming the role.\nThe external ID to use when assuming the role.' } }, - withExternalId(value): { - externalId: value, - }, - '#withMessageFormat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The format of the message to send. Valid values are text, body and json. Default is text. Defaults to text.\nThe format of the message to send. Valid values are `text`, `body` and `json`. Default is `text`. Defaults to `text`.' } }, - withMessageFormat(value): { - messageFormat: value, - }, - '#withSecretKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) AWS secret access key used to authenticate with Amazon SNS.\nAWS secret access key used to authenticate with Amazon SNS.' } }, - withSecretKeySecretRef(value): { - secretKeySecretRef: value, - }, - '#withSecretKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) AWS secret access key used to authenticate with Amazon SNS.\nAWS secret access key used to authenticate with Amazon SNS.' } }, - withSecretKeySecretRefMixin(value): { - secretKeySecretRef+: value, - }, - secretKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - secretKeySecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - secretKeySecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - secretKeySecretRef+: { - namespace: value, - }, - }, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - '#withSubject': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated subject line of the email. Defaults to “.' } }, - withSubject(value): { - subject: value, - }, - '#withTopic': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the Kafka topic to publish to.\nThe Amazon SNS topic to send notifications to.' } }, - withTopic(value): { - topic: value, - }, - }, - '#withTeams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Microsoft Teams. (see below for nested schema)\nA contact point that sends notifications to Microsoft Teams.' } }, - withTeams(value): { - spec+: { - parameters+: { - initProvider+: { - teams: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withTeamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Microsoft Teams. (see below for nested schema)\nA contact point that sends notifications to Microsoft Teams.' } }, - withTeamsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - teams+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - teams+: - { - '#': { help: '', name: 'teams' }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated message content to send.' } }, - withMessage(value): { - message: value, - }, - '#withSectionTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated subtitle for each message section.\nThe templated subtitle for each message section.' } }, - withSectionTitle(value): { - sectionTitle: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message.' } }, - withTitle(value): { - title: value, - }, - '#withUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nA Teams webhook URL.' } }, - withUrlSecretRef(value): { - urlSecretRef: value, - }, - '#withUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nA Teams webhook URL.' } }, - withUrlSecretRefMixin(value): { - urlSecretRef+: value, - }, - urlSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - urlSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - urlSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - urlSecretRef+: { - namespace: value, - }, - }, - }, - }, - '#withTelegram': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Telegram. (see below for nested schema)\nA contact point that sends notifications to Telegram.' } }, - withTelegram(value): { - spec+: { - parameters+: { - initProvider+: { - telegram: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withTelegramMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Telegram. (see below for nested schema)\nA contact point that sends notifications to Telegram.' } }, - withTelegramMixin(value): { - spec+: { - parameters+: { - initProvider+: { - telegram+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - telegram+: - { - '#': { help: '', name: 'telegram' }, - '#withChatId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The chat ID to send messages to.\nThe chat ID to send messages to.' } }, - withChatId(value): { - chatId: value, - }, - '#withDisableNotifications': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) When set users will receive a notification with no sound.\nWhen set users will receive a notification with no sound.' } }, - withDisableNotifications(value=true): { - disableNotifications: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withDisableWebPagePreview': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) When set it disables link previews for links in the message.\nWhen set it disables link previews for links in the message.' } }, - withDisableWebPagePreview(value=true): { - disableWebPagePreview: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message.' } }, - withMessage(value): { - message: value, - }, - '#withMessageThreadId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the message thread to send the message to.\nThe ID of the message thread to send the message to.' } }, - withMessageThreadId(value): { - messageThreadId: value, - }, - '#withParseMode': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Mode for parsing entities in the message text. Supported: None, Markdown, MarkdownV2, and HTML. HTML is the default.\nMode for parsing entities in the message text. Supported: None, Markdown, MarkdownV2, and HTML. HTML is the default.' } }, - withParseMode(value): { - parseMode: value, - }, - '#withProtectContent': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) When set it protects the contents of the message from forwarding and saving.\nWhen set it protects the contents of the message from forwarding and saving.' } }, - withProtectContent(value=true): { - protectContent: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - '#withTokenSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe Telegram bot token.' } }, - withTokenSecretRef(value): { - tokenSecretRef: value, - }, - '#withTokenSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe Telegram bot token.' } }, - withTokenSecretRefMixin(value): { - tokenSecretRef+: value, - }, - tokenSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - tokenSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - tokenSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - tokenSecretRef+: { - namespace: value, - }, - }, - }, - }, - '#withThreema': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Threema. (see below for nested schema)\nA contact point that sends notifications to Threema.' } }, - withThreema(value): { - spec+: { - parameters+: { - initProvider+: { - threema: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withThreemaMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Threema. (see below for nested schema)\nA contact point that sends notifications to Threema.' } }, - withThreemaMixin(value): { - spec+: { - parameters+: { - initProvider+: { - threema+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - threema+: - { - '#': { help: '', name: 'threema' }, - '#withApiSecretSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Threema API key.\nThe Threema API key.' } }, - withApiSecretSecretRef(value): { - apiSecretSecretRef: value, - }, - '#withApiSecretSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Threema API key.\nThe Threema API key.' } }, - withApiSecretSecretRefMixin(value): { - apiSecretSecretRef+: value, - }, - apiSecretSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - apiSecretSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - apiSecretSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - apiSecretSecretRef+: { - namespace: value, - }, - }, - }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated description of the Kafka message.\nThe templated description of the message.' } }, - withDescription(value): { - description: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withGatewayId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Threema gateway ID.\nThe Threema gateway ID.' } }, - withGatewayId(value): { - gatewayId: value, - }, - '#withRecipientId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the recipient of the message.\nThe ID of the recipient of the message.' } }, - withRecipientId(value): { - recipientId: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message.' } }, - withTitle(value): { - title: value, - }, - }, - '#withVictorops': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to VictorOps (now known as Splunk OnCall). (see below for nested schema)\nA contact point that sends notifications to VictorOps (now known as Splunk OnCall).' } }, - withVictorops(value): { - spec+: { - parameters+: { - initProvider+: { - victorops: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withVictoropsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to VictorOps (now known as Splunk OnCall). (see below for nested schema)\nA contact point that sends notifications to VictorOps (now known as Splunk OnCall).' } }, - withVictoropsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - victorops+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - victorops+: - { - '#': { help: '', name: 'victorops' }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated description of the Kafka message.\nTemplated description of the message.' } }, - withDescription(value): { - description: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withMessageType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "either 'link' or 'actionCard'\nThe VictorOps alert state - typically either `CRITICAL` or `RECOVERY`." } }, - withMessageType(value): { - messageType: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nTemplated title to display.' } }, - withTitle(value): { - title: value, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe VictorOps webhook URL.' } }, - withUrl(value): { - url: value, - }, - }, - '#withWebex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Cisco Webex. (see below for nested schema)\nA contact point that sends notifications to Cisco Webex.' } }, - withWebex(value): { - spec+: { - parameters+: { - initProvider+: { - webex: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withWebexMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to Cisco Webex. (see below for nested schema)\nA contact point that sends notifications to Cisco Webex.' } }, - withWebexMixin(value): { - spec+: { - parameters+: { - initProvider+: { - webex+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - webex+: - { - '#': { help: '', name: 'webex' }, - '#withApiUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL to send webhook requests to.\nThe URL to send webhook requests to.' } }, - withApiUrl(value): { - apiUrl: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated title of the message to send.' } }, - withMessage(value): { - message: value, - }, - '#withRoomId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the Webex Teams room where to send the messages.\nID of the Webex Teams room where to send the messages.' } }, - withRoomId(value): { - roomId: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - '#withTokenSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe bearer token used to authorize the client.' } }, - withTokenSecretRef(value): { - tokenSecretRef: value, - }, - '#withTokenSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The bearer token used to authorize the client.\nThe bearer token used to authorize the client.' } }, - withTokenSecretRefMixin(value): { - tokenSecretRef+: value, - }, - tokenSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - tokenSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - tokenSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - tokenSecretRef+: { - namespace: value, - }, - }, - }, - }, - '#withWebhook': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config (see below for nested schema)\nA contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config' } }, - withWebhook(value): { - spec+: { - parameters+: { - initProvider+: { - webhook: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withWebhookMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config (see below for nested schema)\nA contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config' } }, - withWebhookMixin(value): { - spec+: { - parameters+: { - initProvider+: { - webhook+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - webhook+: - { - '#': { help: '', name: 'webhook' }, - '#withAuthorizationCredentialsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'attaches an auth header with this value. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.' } }, - withAuthorizationCredentialsSecretRef(value): { - authorizationCredentialsSecretRef: value, - }, - '#withAuthorizationCredentialsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'attaches an auth header with this value. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.' } }, - withAuthorizationCredentialsSecretRefMixin(value): { - authorizationCredentialsSecretRef+: value, - }, - authorizationCredentialsSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - authorizationCredentialsSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - authorizationCredentialsSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - authorizationCredentialsSecretRef+: { - namespace: value, - }, - }, - }, - '#withAuthorizationScheme': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'attaches an auth header with this name. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters.' } }, - withAuthorizationScheme(value): { - authorizationScheme: value, - }, - '#withBasicAuthPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, - withBasicAuthPasswordSecretRef(value): { - basicAuthPasswordSecretRef: value, - }, - '#withBasicAuthPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, - withBasicAuthPasswordSecretRefMixin(value): { - basicAuthPasswordSecretRef+: value, - }, - basicAuthPasswordSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - basicAuthPasswordSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - basicAuthPasswordSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - basicAuthPasswordSecretRef+: { - namespace: value, - }, - }, - }, - '#withBasicAuthUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The username component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.' } }, - withBasicAuthUser(value): { - basicAuthUser: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withHttpMethod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The HTTP method to use in the request. Defaults to POST.\nThe HTTP method to use in the request. Defaults to `POST`.' } }, - withHttpMethod(value): { - httpMethod: value, - }, - '#withMaxAlerts': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.\nThe maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.' } }, - withMaxAlerts(value): { - maxAlerts: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nCustom message. You can use template variables.' } }, - withMessage(value): { - message: value, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nTemplated title of the message.' } }, - withTitle(value): { - title: value, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the Alertmanager instance.\nThe URL to send webhook requests to.' } }, - withUrl(value): { - url: value, - }, - }, - '#withWecom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to WeCom. (see below for nested schema)\nA contact point that sends notifications to WeCom.' } }, - withWecom(value): { - spec+: { - parameters+: { - initProvider+: { - wecom: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withWecomMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) A contact point that sends notifications to WeCom. (see below for nested schema)\nA contact point that sends notifications to WeCom.' } }, - withWecomMixin(value): { - spec+: { - parameters+: { - initProvider+: { - wecom+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - wecom+: - { - '#': { help: '', name: 'wecom' }, - '#withAgentId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Agent ID added to the request payload when using APIAPP.\nAgent ID added to the request payload when using APIAPP.' } }, - withAgentId(value): { - agentId: value, - }, - '#withCorpId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Corp ID used to get token when using APIAPP.\nCorp ID used to get token when using APIAPP.' } }, - withCorpId(value): { - corpId: value, - }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`.' } }, - withDisableResolveMessage(value=true): { - disableResolveMessage: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated content of the message.\nThe templated content of the message to send.' } }, - withMessage(value): { - message: value, - }, - '#withMsgType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of them message. Supported: markdown, text. Default: text.\nThe type of them message. Supported: markdown, text. Default: text.' } }, - withMsgType(value): { - msgType: value, - }, - '#withSecretSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP.\nThe secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP.' } }, - withSecretSecretRef(value): { - secretSecretRef: value, - }, - '#withSecretSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP.\nThe secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP.' } }, - withSecretSecretRefMixin(value): { - secretSecretRef+: value, - }, - secretSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - secretSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - secretSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - secretSecretRef+: { - namespace: value, - }, - }, - }, - '#withSettingsSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRef(value): { - settingsSecretRef: value, - }, - '#withSettingsSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsSecretRefMixin(value): { - settingsSecretRef+: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The templated title of the message.\nThe templated title of the message to send.' } }, - withTitle(value): { - title: value, - }, - '#withToUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The ID of user that should receive the message. Multiple entries should be separated by '|'. Default: @all.\nThe ID of user that should receive the message. Multiple entries should be separated by '|'. Default: @all." } }, - withToUser(value): { - toUser: value, - }, - '#withUrlSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe WeCom webhook URL. Required if using GroupRobot.' } }, - withUrlSecretRef(value): { - urlSecretRef: value, - }, - '#withUrlSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String) The URL of the Alertmanager instance.\nThe WeCom webhook URL. Required if using GroupRobot.' } }, - withUrlSecretRefMixin(value): { - urlSecretRef+: value, - }, - urlSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - urlSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - urlSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - urlSecretRef+: { - namespace: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - messageTemplate+: - { - '#': { help: '', name: 'messageTemplate' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'alerting.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'MessageTemplate', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MessageTemplateSpec defines the desired state of MessageTemplate' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MessageTemplateSpec defines the desired state of MessageTemplate' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Defaults to false. Defaults to `false`.' } }, - withDisableProvenance(value=true): { - spec+: { - parameters+: { - forProvider+: { - disableProvenance: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the message template.\nThe name of the message template.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withTemplate': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The content of the message template.\nThe content of the message template.' } }, - withTemplate(value): { - spec+: { - parameters+: { - forProvider+: { - template: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Defaults to false. Defaults to `false`.' } }, - withDisableProvenance(value=true): { - spec+: { - parameters+: { - initProvider+: { - disableProvenance: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the message template.\nThe name of the message template.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withTemplate': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The content of the message template.\nThe content of the message template.' } }, - withTemplate(value): { - spec+: { - parameters+: { - initProvider+: { - template: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - muteTiming+: - { - '#': { help: '', name: 'muteTiming' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'alerting.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'MuteTiming', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MuteTimingSpec defines the desired state of MuteTiming' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MuteTimingSpec defines the desired state of MuteTiming' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Defaults to false. Defaults to `false`.' } }, - withDisableProvenance(value=true): { - spec+: { - parameters+: { - forProvider+: { - disableProvenance: value, - }, - }, - }, - }, - '#withIntervals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) The time intervals at which to mute notifications. Use an empty block to mute all the time. (see below for nested schema)\nThe time intervals at which to mute notifications. Use an empty block to mute all the time.' } }, - withIntervals(value): { - spec+: { - parameters+: { - forProvider+: { - intervals: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withIntervalsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) The time intervals at which to mute notifications. Use an empty block to mute all the time. (see below for nested schema)\nThe time intervals at which to mute notifications. Use an empty block to mute all the time.' } }, - withIntervalsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - intervals+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - intervals+: - { - '#': { help: '', name: 'intervals' }, - '#withDaysOfMonth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1".\nAn inclusive range of days, 1-31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1".' } }, - withDaysOfMonth(value): { - daysOfMonth: - (if std.isArray(value) - then value - else [value]), - }, - '#withDaysOfMonthMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1".\nAn inclusive range of days, 1-31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1".' } }, - withDaysOfMonthMixin(value): { - daysOfMonth+: - (if std.isArray(value) - then value - else [value]), - }, - '#withLocation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Provides the time zone for the time interval. Must be a location in the IANA time zone database, e.g "America/New_York"\nProvides the time zone for the time interval. Must be a location in the IANA time zone database, e.g "America/New_York"' } }, - withLocation(value): { - location: value, - }, - '#withMonths': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) An inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august".\nAn inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august".' } }, - withMonths(value): { - months: - (if std.isArray(value) - then value - else [value]), - }, - '#withMonthsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) An inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august".\nAn inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august".' } }, - withMonthsMixin(value): { - months+: - (if std.isArray(value) - then value - else [value]), - }, - '#withTimes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) The time ranges, represented in minutes, during which to mute in a given day. (see below for nested schema)\nThe time ranges, represented in minutes, during which to mute in a given day.' } }, - withTimes(value): { - times: - (if std.isArray(value) - then value - else [value]), - }, - '#withTimesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) The time ranges, represented in minutes, during which to mute in a given day. (see below for nested schema)\nThe time ranges, represented in minutes, during which to mute in a given day.' } }, - withTimesMixin(value): { - times+: - (if std.isArray(value) - then value - else [value]), - }, - times+: - { - '#': { help: '', name: 'times' }, - '#withEnd': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The time, in hh:mm format, of when the interval should end exclusively.\nThe time, in hh:mm format, of when the interval should end exclusively.' } }, - withEnd(value): { - end: value, - }, - '#withStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The time, in hh:mm format, of when the interval should begin inclusively.\nThe time, in hh:mm format, of when the interval should begin inclusively.' } }, - withStart(value): { - start: value, - }, - }, - '#withWeekdays': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) An inclusive range of weekdays, e.g. "monday" or "tuesday:thursday".\nAn inclusive range of weekdays, e.g. "monday" or "tuesday:thursday".' } }, - withWeekdays(value): { - weekdays: - (if std.isArray(value) - then value - else [value]), - }, - '#withWeekdaysMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) An inclusive range of weekdays, e.g. "monday" or "tuesday:thursday".\nAn inclusive range of weekdays, e.g. "monday" or "tuesday:thursday".' } }, - withWeekdaysMixin(value): { - weekdays+: - (if std.isArray(value) - then value - else [value]), - }, - '#withYears': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A positive inclusive range of years, e.g. "2030" or "2025:2026".\nA positive inclusive range of years, e.g. "2030" or "2025:2026".' } }, - withYears(value): { - years: - (if std.isArray(value) - then value - else [value]), - }, - '#withYearsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A positive inclusive range of years, e.g. "2030" or "2025:2026".\nA positive inclusive range of years, e.g. "2030" or "2025:2026".' } }, - withYearsMixin(value): { - years+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the mute timing.\nThe name of the mute timing.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Defaults to false. Defaults to `false`.' } }, - withDisableProvenance(value=true): { - spec+: { - parameters+: { - initProvider+: { - disableProvenance: value, - }, - }, - }, - }, - '#withIntervals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) The time intervals at which to mute notifications. Use an empty block to mute all the time. (see below for nested schema)\nThe time intervals at which to mute notifications. Use an empty block to mute all the time.' } }, - withIntervals(value): { - spec+: { - parameters+: { - initProvider+: { - intervals: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withIntervalsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) The time intervals at which to mute notifications. Use an empty block to mute all the time. (see below for nested schema)\nThe time intervals at which to mute notifications. Use an empty block to mute all the time.' } }, - withIntervalsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - intervals+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - intervals+: - { - '#': { help: '', name: 'intervals' }, - '#withDaysOfMonth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1".\nAn inclusive range of days, 1-31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1".' } }, - withDaysOfMonth(value): { - daysOfMonth: - (if std.isArray(value) - then value - else [value]), - }, - '#withDaysOfMonthMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1".\nAn inclusive range of days, 1-31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1".' } }, - withDaysOfMonthMixin(value): { - daysOfMonth+: - (if std.isArray(value) - then value - else [value]), - }, - '#withLocation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Provides the time zone for the time interval. Must be a location in the IANA time zone database, e.g "America/New_York"\nProvides the time zone for the time interval. Must be a location in the IANA time zone database, e.g "America/New_York"' } }, - withLocation(value): { - location: value, - }, - '#withMonths': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) An inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august".\nAn inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august".' } }, - withMonths(value): { - months: - (if std.isArray(value) - then value - else [value]), - }, - '#withMonthsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) An inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august".\nAn inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august".' } }, - withMonthsMixin(value): { - months+: - (if std.isArray(value) - then value - else [value]), - }, - '#withTimes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) The time ranges, represented in minutes, during which to mute in a given day. (see below for nested schema)\nThe time ranges, represented in minutes, during which to mute in a given day.' } }, - withTimes(value): { - times: - (if std.isArray(value) - then value - else [value]), - }, - '#withTimesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) The time ranges, represented in minutes, during which to mute in a given day. (see below for nested schema)\nThe time ranges, represented in minutes, during which to mute in a given day.' } }, - withTimesMixin(value): { - times+: - (if std.isArray(value) - then value - else [value]), - }, - times+: - { - '#': { help: '', name: 'times' }, - '#withEnd': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The time, in hh:mm format, of when the interval should end exclusively.\nThe time, in hh:mm format, of when the interval should end exclusively.' } }, - withEnd(value): { - end: value, - }, - '#withStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The time, in hh:mm format, of when the interval should begin inclusively.\nThe time, in hh:mm format, of when the interval should begin inclusively.' } }, - withStart(value): { - start: value, - }, - }, - '#withWeekdays': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) An inclusive range of weekdays, e.g. "monday" or "tuesday:thursday".\nAn inclusive range of weekdays, e.g. "monday" or "tuesday:thursday".' } }, - withWeekdays(value): { - weekdays: - (if std.isArray(value) - then value - else [value]), - }, - '#withWeekdaysMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) An inclusive range of weekdays, e.g. "monday" or "tuesday:thursday".\nAn inclusive range of weekdays, e.g. "monday" or "tuesday:thursday".' } }, - withWeekdaysMixin(value): { - weekdays+: - (if std.isArray(value) - then value - else [value]), - }, - '#withYears': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A positive inclusive range of years, e.g. "2030" or "2025:2026".\nA positive inclusive range of years, e.g. "2030" or "2025:2026".' } }, - withYears(value): { - years: - (if std.isArray(value) - then value - else [value]), - }, - '#withYearsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A positive inclusive range of years, e.g. "2030" or "2025:2026".\nA positive inclusive range of years, e.g. "2030" or "2025:2026".' } }, - withYearsMixin(value): { - years+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the mute timing.\nThe name of the mute timing.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - notificationPolicy+: - { - '#': { help: '', name: 'notificationPolicy' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'alerting.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'NotificationPolicy', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'NotificationPolicySpec defines the desired state of NotificationPolicy' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'NotificationPolicySpec defines the desired state of NotificationPolicy' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default contact point to route all unmatched notifications to.\nThe default contact point to route all unmatched notifications to.' } }, - withContactPoint(value): { - spec+: { - parameters+: { - forProvider+: { - contactPoint: value, - }, - }, - }, - }, - '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRef(value): { - spec+: { - parameters+: { - forProvider+: { - contactPointRef: value, - }, - }, - }, - }, - '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - contactPointRef+: value, - }, - }, - }, - }, - contactPointRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - contactPointRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - contactPointRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - contactPointRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - contactPointRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - contactPointRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelector(value): { - spec+: { - parameters+: { - forProvider+: { - contactPointSelector: value, - }, - }, - }, - }, - '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - contactPointSelector+: value, - }, - }, - }, - }, - contactPointSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - contactPointSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - contactPointSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - contactPointSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - contactPointSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - contactPointSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - contactPointSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - contactPointSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Defaults to false. Defaults to `false`.' } }, - withDisableProvenance(value=true): { - spec+: { - parameters+: { - forProvider+: { - disableProvenance: value, - }, - }, - }, - }, - '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping.' } }, - withGroupBy(value): { - spec+: { - parameters+: { - forProvider+: { - groupBy: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping.' } }, - withGroupByMixin(value): { - spec+: { - parameters+: { - forProvider+: { - groupBy+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, - withGroupInterval(value): { - spec+: { - parameters+: { - forProvider+: { - groupInterval: value, - }, - }, - }, - }, - '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, - withGroupWait(value): { - spec+: { - parameters+: { - forProvider+: { - groupWait: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - policy: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - policy+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - policy+: - { - '#': { help: '', name: 'policy' }, - '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default contact point to route all unmatched notifications to.\nThe contact point to route notifications that match this rule to.' } }, - withContactPoint(value): { - contactPoint: value, - }, - '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRef(value): { - contactPointRef: value, - }, - '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRefMixin(value): { - contactPointRef+: value, - }, - contactPointRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - contactPointRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - contactPointRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - contactPointRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - contactPointRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - contactPointRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelector(value): { - contactPointSelector: value, - }, - '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelectorMixin(value): { - contactPointSelector+: value, - }, - contactPointSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - contactPointSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - contactPointSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - contactPointSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - contactPointSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - contactPointSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - contactPointSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - contactPointSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withContinue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.\nWhether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it." } }, - withContinue(value=true): { - continue: value, - }, - '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, - withGroupBy(value): { - groupBy: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, - withGroupByMixin(value): { - groupBy+: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, - withGroupInterval(value): { - groupInterval: value, - }, - '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, - withGroupWait(value): { - groupWait: value, - }, - '#withMatcher': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, - withMatcher(value): { - matcher: - (if std.isArray(value) - then value - else [value]), - }, - '#withMatcherMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, - withMatcherMixin(value): { - matcher+: - (if std.isArray(value) - then value - else [value]), - }, - matcher+: - { - '#': { help: '', name: 'matcher' }, - '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the label to match against.\nThe name of the label to match against.' } }, - withLabel(value): { - label: value, - }, - '#withMatch': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality.\nThe operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.' } }, - withMatch(value): { - match: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The label value to match against.\nThe label value to match against.' } }, - withValue(value): { - value: value, - }, - }, - '#withMuteTimingRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingRef(value): { - muteTimingRef: - (if std.isArray(value) - then value - else [value]), - }, - '#withMuteTimingRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingRefMixin(value): { - muteTimingRef+: - (if std.isArray(value) - then value - else [value]), - }, - muteTimingRef+: - { - '#': { help: '', name: 'muteTimingRef' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - name: value, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - policy: value, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - policy+: value, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - policy+: { - resolution: value, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - policy+: { - resolve: value, - }, - }, - }, - }, - '#withMuteTimingSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingSelector(value): { - muteTimingSelector: value, - }, - '#withMuteTimingSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingSelectorMixin(value): { - muteTimingSelector+: value, - }, - muteTimingSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - muteTimingSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - muteTimingSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - muteTimingSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - muteTimingSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - muteTimingSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - muteTimingSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - muteTimingSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withMuteTimings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, - withMuteTimings(value): { - muteTimings: - (if std.isArray(value) - then value - else [value]), - }, - '#withMuteTimingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, - withMuteTimingsMixin(value): { - muteTimings+: - (if std.isArray(value) - then value - else [value]), - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, - withPolicy(value): { - policy: - (if std.isArray(value) - then value - else [value]), - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, - withPolicyMixin(value): { - policy+: - (if std.isArray(value) - then value - else [value]), - }, - policy+: - { - '#': { help: '', name: 'policy' }, - '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default contact point to route all unmatched notifications to.\nThe contact point to route notifications that match this rule to.' } }, - withContactPoint(value): { - contactPoint: value, - }, - '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRef(value): { - contactPointRef: value, - }, - '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRefMixin(value): { - contactPointRef+: value, - }, - contactPointRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - contactPointRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - contactPointRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - contactPointRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - contactPointRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - contactPointRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelector(value): { - contactPointSelector: value, - }, - '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelectorMixin(value): { - contactPointSelector+: value, - }, - contactPointSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - contactPointSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - contactPointSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - contactPointSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - contactPointSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - contactPointSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - contactPointSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - contactPointSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withContinue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.\nWhether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it." } }, - withContinue(value=true): { - continue: value, - }, - '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, - withGroupBy(value): { - groupBy: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, - withGroupByMixin(value): { - groupBy+: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, - withGroupInterval(value): { - groupInterval: value, - }, - '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, - withGroupWait(value): { - groupWait: value, - }, - '#withMatcher': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, - withMatcher(value): { - matcher: - (if std.isArray(value) - then value - else [value]), - }, - '#withMatcherMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, - withMatcherMixin(value): { - matcher+: - (if std.isArray(value) - then value - else [value]), - }, - matcher+: - { - '#': { help: '', name: 'matcher' }, - '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the label to match against.\nThe name of the label to match against.' } }, - withLabel(value): { - label: value, - }, - '#withMatch': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality.\nThe operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.' } }, - withMatch(value): { - match: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The label value to match against.\nThe label value to match against.' } }, - withValue(value): { - value: value, - }, - }, - '#withMuteTimingRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingRef(value): { - muteTimingRef: - (if std.isArray(value) - then value - else [value]), - }, - '#withMuteTimingRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingRefMixin(value): { - muteTimingRef+: - (if std.isArray(value) - then value - else [value]), - }, - muteTimingRef+: - { - '#': { help: '', name: 'muteTimingRef' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - name: value, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - policy: value, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - policy+: value, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - policy+: { - resolution: value, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - policy+: { - resolve: value, - }, - }, - }, - }, - '#withMuteTimingSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingSelector(value): { - muteTimingSelector: value, - }, - '#withMuteTimingSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingSelectorMixin(value): { - muteTimingSelector+: value, - }, - muteTimingSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - muteTimingSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - muteTimingSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - muteTimingSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - muteTimingSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - muteTimingSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - muteTimingSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - muteTimingSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withMuteTimings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, - withMuteTimings(value): { - muteTimings: - (if std.isArray(value) - then value - else [value]), - }, - '#withMuteTimingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, - withMuteTimingsMixin(value): { - muteTimings+: - (if std.isArray(value) - then value - else [value]), - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, - withPolicy(value): { - policy: - (if std.isArray(value) - then value - else [value]), - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, - withPolicyMixin(value): { - policy+: - (if std.isArray(value) - then value - else [value]), - }, - policy+: - { - '#': { help: '', name: 'policy' }, - '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default contact point to route all unmatched notifications to.\nThe contact point to route notifications that match this rule to.' } }, - withContactPoint(value): { - contactPoint: value, - }, - '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRef(value): { - contactPointRef: value, - }, - '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRefMixin(value): { - contactPointRef+: value, - }, - contactPointRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - contactPointRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - contactPointRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - contactPointRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - contactPointRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - contactPointRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelector(value): { - contactPointSelector: value, - }, - '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelectorMixin(value): { - contactPointSelector+: value, - }, - contactPointSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - contactPointSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - contactPointSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - contactPointSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - contactPointSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - contactPointSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - contactPointSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - contactPointSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withContinue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.\nWhether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it." } }, - withContinue(value=true): { - continue: value, - }, - '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, - withGroupBy(value): { - groupBy: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, - withGroupByMixin(value): { - groupBy+: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, - withGroupInterval(value): { - groupInterval: value, - }, - '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, - withGroupWait(value): { - groupWait: value, - }, - '#withMatcher': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, - withMatcher(value): { - matcher: - (if std.isArray(value) - then value - else [value]), - }, - '#withMatcherMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, - withMatcherMixin(value): { - matcher+: - (if std.isArray(value) - then value - else [value]), - }, - matcher+: - { - '#': { help: '', name: 'matcher' }, - '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the label to match against.\nThe name of the label to match against.' } }, - withLabel(value): { - label: value, - }, - '#withMatch': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality.\nThe operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.' } }, - withMatch(value): { - match: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The label value to match against.\nThe label value to match against.' } }, - withValue(value): { - value: value, - }, - }, - '#withMuteTimingRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingRef(value): { - muteTimingRef: - (if std.isArray(value) - then value - else [value]), - }, - '#withMuteTimingRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingRefMixin(value): { - muteTimingRef+: - (if std.isArray(value) - then value - else [value]), - }, - muteTimingRef+: - { - '#': { help: '', name: 'muteTimingRef' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - name: value, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - policy: value, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - policy+: value, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - policy+: { - resolution: value, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - policy+: { - resolve: value, - }, - }, - }, - }, - '#withMuteTimingSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingSelector(value): { - muteTimingSelector: value, - }, - '#withMuteTimingSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingSelectorMixin(value): { - muteTimingSelector+: value, - }, - muteTimingSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - muteTimingSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - muteTimingSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - muteTimingSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - muteTimingSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - muteTimingSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - muteTimingSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - muteTimingSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withMuteTimings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, - withMuteTimings(value): { - muteTimings: - (if std.isArray(value) - then value - else [value]), - }, - '#withMuteTimingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, - withMuteTimingsMixin(value): { - muteTimings+: - (if std.isArray(value) - then value - else [value]), - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, - withPolicy(value): { - policy: - (if std.isArray(value) - then value - else [value]), - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, - withPolicyMixin(value): { - policy+: - (if std.isArray(value) - then value - else [value]), - }, - policy+: - { - '#': { help: '', name: 'policy' }, - '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default contact point to route all unmatched notifications to.\nThe contact point to route notifications that match this rule to.' } }, - withContactPoint(value): { - contactPoint: value, - }, - '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRef(value): { - contactPointRef: value, - }, - '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRefMixin(value): { - contactPointRef+: value, - }, - contactPointRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - contactPointRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - contactPointRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - contactPointRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - contactPointRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - contactPointRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelector(value): { - contactPointSelector: value, - }, - '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelectorMixin(value): { - contactPointSelector+: value, - }, - contactPointSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - contactPointSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - contactPointSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - contactPointSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - contactPointSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - contactPointSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - contactPointSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - contactPointSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withContinue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.\nWhether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it." } }, - withContinue(value=true): { - continue: value, - }, - '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, - withGroupBy(value): { - groupBy: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, - withGroupByMixin(value): { - groupBy+: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, - withGroupInterval(value): { - groupInterval: value, - }, - '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, - withGroupWait(value): { - groupWait: value, - }, - '#withMatcher': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, - withMatcher(value): { - matcher: - (if std.isArray(value) - then value - else [value]), - }, - '#withMatcherMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, - withMatcherMixin(value): { - matcher+: - (if std.isArray(value) - then value - else [value]), - }, - matcher+: - { - '#': { help: '', name: 'matcher' }, - '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the label to match against.\nThe name of the label to match against.' } }, - withLabel(value): { - label: value, - }, - '#withMatch': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality.\nThe operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.' } }, - withMatch(value): { - match: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The label value to match against.\nThe label value to match against.' } }, - withValue(value): { - value: value, - }, - }, - '#withMuteTimingRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingRef(value): { - muteTimingRef: - (if std.isArray(value) - then value - else [value]), - }, - '#withMuteTimingRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingRefMixin(value): { - muteTimingRef+: - (if std.isArray(value) - then value - else [value]), - }, - muteTimingRef+: - { - '#': { help: '', name: 'muteTimingRef' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - name: value, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - policy: value, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - policy+: value, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - policy+: { - resolution: value, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - policy+: { - resolve: value, - }, - }, - }, - }, - '#withMuteTimingSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingSelector(value): { - muteTimingSelector: value, - }, - '#withMuteTimingSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingSelectorMixin(value): { - muteTimingSelector+: value, - }, - muteTimingSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - muteTimingSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - muteTimingSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - muteTimingSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - muteTimingSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - muteTimingSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - muteTimingSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - muteTimingSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withMuteTimings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, - withMuteTimings(value): { - muteTimings: - (if std.isArray(value) - then value - else [value]), - }, - '#withMuteTimingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, - withMuteTimingsMixin(value): { - muteTimings+: - (if std.isArray(value) - then value - else [value]), - }, - '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, - withRepeatInterval(value): { - repeatInterval: value, - }, - }, - '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, - withRepeatInterval(value): { - repeatInterval: value, - }, - }, - '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, - withRepeatInterval(value): { - repeatInterval: value, - }, - }, - '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, - withRepeatInterval(value): { - repeatInterval: value, - }, - }, - '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, - withRepeatInterval(value): { - spec+: { - parameters+: { - forProvider+: { - repeatInterval: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default contact point to route all unmatched notifications to.\nThe default contact point to route all unmatched notifications to.' } }, - withContactPoint(value): { - spec+: { - parameters+: { - initProvider+: { - contactPoint: value, - }, - }, - }, - }, - '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRef(value): { - spec+: { - parameters+: { - initProvider+: { - contactPointRef: value, - }, - }, - }, - }, - '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - contactPointRef+: value, - }, - }, - }, - }, - contactPointRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - contactPointRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - contactPointRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - contactPointRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - contactPointRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - contactPointRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelector(value): { - spec+: { - parameters+: { - initProvider+: { - contactPointSelector: value, - }, - }, - }, - }, - '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - contactPointSelector+: value, - }, - }, - }, - }, - contactPointSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - contactPointSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - contactPointSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - contactPointSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - contactPointSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - contactPointSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - contactPointSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - contactPointSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Defaults to false. Defaults to `false`.' } }, - withDisableProvenance(value=true): { - spec+: { - parameters+: { - initProvider+: { - disableProvenance: value, - }, - }, - }, - }, - '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping.' } }, - withGroupBy(value): { - spec+: { - parameters+: { - initProvider+: { - groupBy: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping.' } }, - withGroupByMixin(value): { - spec+: { - parameters+: { - initProvider+: { - groupBy+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, - withGroupInterval(value): { - spec+: { - parameters+: { - initProvider+: { - groupInterval: value, - }, - }, - }, - }, - '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, - withGroupWait(value): { - spec+: { - parameters+: { - initProvider+: { - groupWait: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - policy: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - policy+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - policy+: - { - '#': { help: '', name: 'policy' }, - '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default contact point to route all unmatched notifications to.\nThe contact point to route notifications that match this rule to.' } }, - withContactPoint(value): { - contactPoint: value, - }, - '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRef(value): { - contactPointRef: value, - }, - '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRefMixin(value): { - contactPointRef+: value, - }, - contactPointRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - contactPointRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - contactPointRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - contactPointRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - contactPointRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - contactPointRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelector(value): { - contactPointSelector: value, - }, - '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelectorMixin(value): { - contactPointSelector+: value, - }, - contactPointSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - contactPointSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - contactPointSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - contactPointSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - contactPointSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - contactPointSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - contactPointSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - contactPointSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withContinue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.\nWhether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it." } }, - withContinue(value=true): { - continue: value, - }, - '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, - withGroupBy(value): { - groupBy: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, - withGroupByMixin(value): { - groupBy+: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, - withGroupInterval(value): { - groupInterval: value, - }, - '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, - withGroupWait(value): { - groupWait: value, - }, - '#withMatcher': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, - withMatcher(value): { - matcher: - (if std.isArray(value) - then value - else [value]), - }, - '#withMatcherMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, - withMatcherMixin(value): { - matcher+: - (if std.isArray(value) - then value - else [value]), - }, - matcher+: - { - '#': { help: '', name: 'matcher' }, - '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the label to match against.\nThe name of the label to match against.' } }, - withLabel(value): { - label: value, - }, - '#withMatch': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality.\nThe operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.' } }, - withMatch(value): { - match: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The label value to match against.\nThe label value to match against.' } }, - withValue(value): { - value: value, - }, - }, - '#withMuteTimingRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingRef(value): { - muteTimingRef: - (if std.isArray(value) - then value - else [value]), - }, - '#withMuteTimingRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingRefMixin(value): { - muteTimingRef+: - (if std.isArray(value) - then value - else [value]), - }, - muteTimingRef+: - { - '#': { help: '', name: 'muteTimingRef' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - name: value, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - policy: value, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - policy+: value, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - policy+: { - resolution: value, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - policy+: { - resolve: value, - }, - }, - }, - }, - '#withMuteTimingSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingSelector(value): { - muteTimingSelector: value, - }, - '#withMuteTimingSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingSelectorMixin(value): { - muteTimingSelector+: value, - }, - muteTimingSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - muteTimingSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - muteTimingSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - muteTimingSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - muteTimingSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - muteTimingSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - muteTimingSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - muteTimingSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withMuteTimings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, - withMuteTimings(value): { - muteTimings: - (if std.isArray(value) - then value - else [value]), - }, - '#withMuteTimingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, - withMuteTimingsMixin(value): { - muteTimings+: - (if std.isArray(value) - then value - else [value]), - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, - withPolicy(value): { - policy: - (if std.isArray(value) - then value - else [value]), - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, - withPolicyMixin(value): { - policy+: - (if std.isArray(value) - then value - else [value]), - }, - policy+: - { - '#': { help: '', name: 'policy' }, - '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default contact point to route all unmatched notifications to.\nThe contact point to route notifications that match this rule to.' } }, - withContactPoint(value): { - contactPoint: value, - }, - '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRef(value): { - contactPointRef: value, - }, - '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRefMixin(value): { - contactPointRef+: value, - }, - contactPointRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - contactPointRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - contactPointRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - contactPointRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - contactPointRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - contactPointRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelector(value): { - contactPointSelector: value, - }, - '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelectorMixin(value): { - contactPointSelector+: value, - }, - contactPointSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - contactPointSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - contactPointSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - contactPointSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - contactPointSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - contactPointSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - contactPointSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - contactPointSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withContinue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.\nWhether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it." } }, - withContinue(value=true): { - continue: value, - }, - '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, - withGroupBy(value): { - groupBy: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, - withGroupByMixin(value): { - groupBy+: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, - withGroupInterval(value): { - groupInterval: value, - }, - '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, - withGroupWait(value): { - groupWait: value, - }, - '#withMatcher': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, - withMatcher(value): { - matcher: - (if std.isArray(value) - then value - else [value]), - }, - '#withMatcherMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, - withMatcherMixin(value): { - matcher+: - (if std.isArray(value) - then value - else [value]), - }, - matcher+: - { - '#': { help: '', name: 'matcher' }, - '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the label to match against.\nThe name of the label to match against.' } }, - withLabel(value): { - label: value, - }, - '#withMatch': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality.\nThe operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.' } }, - withMatch(value): { - match: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The label value to match against.\nThe label value to match against.' } }, - withValue(value): { - value: value, - }, - }, - '#withMuteTimingRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingRef(value): { - muteTimingRef: - (if std.isArray(value) - then value - else [value]), - }, - '#withMuteTimingRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingRefMixin(value): { - muteTimingRef+: - (if std.isArray(value) - then value - else [value]), - }, - muteTimingRef+: - { - '#': { help: '', name: 'muteTimingRef' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - name: value, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - policy: value, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - policy+: value, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - policy+: { - resolution: value, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - policy+: { - resolve: value, - }, - }, - }, - }, - '#withMuteTimingSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingSelector(value): { - muteTimingSelector: value, - }, - '#withMuteTimingSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingSelectorMixin(value): { - muteTimingSelector+: value, - }, - muteTimingSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - muteTimingSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - muteTimingSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - muteTimingSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - muteTimingSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - muteTimingSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - muteTimingSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - muteTimingSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withMuteTimings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, - withMuteTimings(value): { - muteTimings: - (if std.isArray(value) - then value - else [value]), - }, - '#withMuteTimingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, - withMuteTimingsMixin(value): { - muteTimings+: - (if std.isArray(value) - then value - else [value]), - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, - withPolicy(value): { - policy: - (if std.isArray(value) - then value - else [value]), - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, - withPolicyMixin(value): { - policy+: - (if std.isArray(value) - then value - else [value]), - }, - policy+: - { - '#': { help: '', name: 'policy' }, - '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default contact point to route all unmatched notifications to.\nThe contact point to route notifications that match this rule to.' } }, - withContactPoint(value): { - contactPoint: value, - }, - '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRef(value): { - contactPointRef: value, - }, - '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRefMixin(value): { - contactPointRef+: value, - }, - contactPointRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - contactPointRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - contactPointRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - contactPointRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - contactPointRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - contactPointRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelector(value): { - contactPointSelector: value, - }, - '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelectorMixin(value): { - contactPointSelector+: value, - }, - contactPointSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - contactPointSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - contactPointSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - contactPointSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - contactPointSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - contactPointSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - contactPointSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - contactPointSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withContinue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.\nWhether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it." } }, - withContinue(value=true): { - continue: value, - }, - '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, - withGroupBy(value): { - groupBy: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, - withGroupByMixin(value): { - groupBy+: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, - withGroupInterval(value): { - groupInterval: value, - }, - '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, - withGroupWait(value): { - groupWait: value, - }, - '#withMatcher': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, - withMatcher(value): { - matcher: - (if std.isArray(value) - then value - else [value]), - }, - '#withMatcherMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, - withMatcherMixin(value): { - matcher+: - (if std.isArray(value) - then value - else [value]), - }, - matcher+: - { - '#': { help: '', name: 'matcher' }, - '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the label to match against.\nThe name of the label to match against.' } }, - withLabel(value): { - label: value, - }, - '#withMatch': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality.\nThe operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.' } }, - withMatch(value): { - match: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The label value to match against.\nThe label value to match against.' } }, - withValue(value): { - value: value, - }, - }, - '#withMuteTimingRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingRef(value): { - muteTimingRef: - (if std.isArray(value) - then value - else [value]), - }, - '#withMuteTimingRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingRefMixin(value): { - muteTimingRef+: - (if std.isArray(value) - then value - else [value]), - }, - muteTimingRef+: - { - '#': { help: '', name: 'muteTimingRef' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - name: value, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - policy: value, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - policy+: value, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - policy+: { - resolution: value, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - policy+: { - resolve: value, - }, - }, - }, - }, - '#withMuteTimingSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingSelector(value): { - muteTimingSelector: value, - }, - '#withMuteTimingSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingSelectorMixin(value): { - muteTimingSelector+: value, - }, - muteTimingSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - muteTimingSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - muteTimingSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - muteTimingSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - muteTimingSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - muteTimingSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - muteTimingSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - muteTimingSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withMuteTimings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, - withMuteTimings(value): { - muteTimings: - (if std.isArray(value) - then value - else [value]), - }, - '#withMuteTimingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, - withMuteTimingsMixin(value): { - muteTimings+: - (if std.isArray(value) - then value - else [value]), - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, - withPolicy(value): { - policy: - (if std.isArray(value) - then value - else [value]), - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Routing rules for specific label sets. (see below for nested schema)\nRouting rules for specific label sets.' } }, - withPolicyMixin(value): { - policy+: - (if std.isArray(value) - then value - else [value]), - }, - policy+: - { - '#': { help: '', name: 'policy' }, - '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default contact point to route all unmatched notifications to.\nThe contact point to route notifications that match this rule to.' } }, - withContactPoint(value): { - contactPoint: value, - }, - '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRef(value): { - contactPointRef: value, - }, - '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRefMixin(value): { - contactPointRef+: value, - }, - contactPointRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - contactPointRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - contactPointRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - contactPointRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - contactPointRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - contactPointRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelector(value): { - contactPointSelector: value, - }, - '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelectorMixin(value): { - contactPointSelector+: value, - }, - contactPointSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - contactPointSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - contactPointSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - contactPointSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - contactPointSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - contactPointSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - contactPointSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - contactPointSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withContinue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.\nWhether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it." } }, - withContinue(value=true): { - continue: value, - }, - '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, - withGroupBy(value): { - groupBy: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.' } }, - withGroupByMixin(value): { - groupBy+: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, - withGroupInterval(value): { - groupInterval: value, - }, - '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, - withGroupWait(value): { - groupWait: value, - }, - '#withMatcher': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, - withMatcher(value): { - matcher: - (if std.isArray(value) - then value - else [value]), - }, - '#withMatcherMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see below for nested schema)\nDescribes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.' } }, - withMatcherMixin(value): { - matcher+: - (if std.isArray(value) - then value - else [value]), - }, - matcher+: - { - '#': { help: '', name: 'matcher' }, - '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the label to match against.\nThe name of the label to match against.' } }, - withLabel(value): { - label: value, - }, - '#withMatch': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The operator to apply when matching values of the given label. Allowed operators are = for equality, != for negated equality, =~ for regex equality, and !~ for negated regex equality.\nThe operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.' } }, - withMatch(value): { - match: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The label value to match against.\nThe label value to match against.' } }, - withValue(value): { - value: value, - }, - }, - '#withMuteTimingRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingRef(value): { - muteTimingRef: - (if std.isArray(value) - then value - else [value]), - }, - '#withMuteTimingRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingRefMixin(value): { - muteTimingRef+: - (if std.isArray(value) - then value - else [value]), - }, - muteTimingRef+: - { - '#': { help: '', name: 'muteTimingRef' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - name: value, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - policy: value, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - policy+: value, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - policy+: { - resolution: value, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - policy+: { - resolve: value, - }, - }, - }, - }, - '#withMuteTimingSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingSelector(value): { - muteTimingSelector: value, - }, - '#withMuteTimingSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of MuteTiming in alerting to populate muteTimings.' } }, - withMuteTimingSelectorMixin(value): { - muteTimingSelector+: value, - }, - muteTimingSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - muteTimingSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - muteTimingSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - muteTimingSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - muteTimingSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - muteTimingSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - muteTimingSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - muteTimingSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withMuteTimings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, - withMuteTimings(value): { - muteTimings: - (if std.isArray(value) - then value - else [value]), - }, - '#withMuteTimingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, - withMuteTimingsMixin(value): { - muteTimings+: - (if std.isArray(value) - then value - else [value]), - }, - '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, - withRepeatInterval(value): { - repeatInterval: value, - }, - }, - '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, - withRepeatInterval(value): { - repeatInterval: value, - }, - }, - '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, - withRepeatInterval(value): { - repeatInterval: value, - }, - }, - '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, - withRepeatInterval(value): { - repeatInterval: value, - }, - }, - '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, - withRepeatInterval(value): { - spec+: { - parameters+: { - initProvider+: { - repeatInterval: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - ruleGroup+: - { - '#': { help: '', name: 'ruleGroup' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'alerting.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'RuleGroup', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RuleGroupSpec defines the desired state of RuleGroup' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RuleGroupSpec defines the desired state of RuleGroup' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Defaults to false. Defaults to `false`.' } }, - withDisableProvenance(value=true): { - spec+: { - parameters+: { - forProvider+: { - disableProvenance: value, - }, - }, - }, - }, - '#withFolderRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, - withFolderRef(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef: value, - }, - }, - }, - }, - '#withFolderRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, - withFolderRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: value, - }, - }, - }, - }, - folderRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withFolderSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, - withFolderSelector(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector: value, - }, - }, - }, - }, - '#withFolderSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, - withFolderSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: value, - }, - }, - }, - }, - folderSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The UID of the folder that the group belongs to.\nThe UID of the folder that the group belongs to.' } }, - withFolderUid(value): { - spec+: { - parameters+: { - forProvider+: { - folderUid: value, - }, - }, - }, - }, - '#withIntervalSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The interval, in seconds, at which all rules in the group are evaluated. If a group contains many rules, the rules are evaluated sequentially.\nThe interval, in seconds, at which all rules in the group are evaluated. If a group contains many rules, the rules are evaluated sequentially.' } }, - withIntervalSeconds(value): { - spec+: { - parameters+: { - forProvider+: { - intervalSeconds: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the rule group.\nThe name of the rule group.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withRule': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) The rules within the group. (see below for nested schema)\nThe rules within the group.' } }, - withRule(value): { - spec+: { - parameters+: { - forProvider+: { - rule: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withRuleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) The rules within the group. (see below for nested schema)\nThe rules within the group.' } }, - withRuleMixin(value): { - spec+: { - parameters+: { - forProvider+: { - rule+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - rule+: - { - '#': { help: '', name: 'rule' }, - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to map[].\nKey-value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to `map[]`.' } }, - withAnnotations(value): { - annotations: value, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to map[].\nKey-value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to `map[]`.' } }, - withAnnotationsMixin(value): { - annotations+: value, - }, - '#withCondition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ref_id of the query node in the data field to use as the alert condition.\nThe `ref_id` of the query node in the `data` field to use as the alert condition.' } }, - withCondition(value): { - condition: value, - }, - '#withData': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) A sequence of stages that describe the contents of the rule. (see below for nested schema)\nA sequence of stages that describe the contents of the rule.' } }, - withData(value): { - data: - (if std.isArray(value) - then value - else [value]), - }, - '#withDataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) A sequence of stages that describe the contents of the rule. (see below for nested schema)\nA sequence of stages that describe the contents of the rule.' } }, - withDataMixin(value): { - data+: - (if std.isArray(value) - then value - else [value]), - }, - data+: - { - '#': { help: '', name: 'data' }, - '#withDatasourceUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '100" if this stage is an expression stage.\nThe UID of the datasource being queried, or "-100" if this stage is an expression stage.' } }, - withDatasourceUid(value): { - datasourceUid: value, - }, - '#withModel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Custom JSON data to send to the specified datasource when querying.\nCustom JSON data to send to the specified datasource when querying.' } }, - withModel(value): { - model: value, - }, - '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) An optional identifier for the type of query being executed. Defaults to “.\nAn optional identifier for the type of query being executed. Defaults to “.' } }, - withQueryType(value): { - queryType: value, - }, - '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) A unique string to identify this query stage within a rule.\nA unique string to identify this query stage within a rule.' } }, - withRefId(value): { - refId: value, - }, - '#withRelativeTimeRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) The time range, relative to when the query is executed, across which to query. (see below for nested schema)\nThe time range, relative to when the query is executed, across which to query.' } }, - withRelativeTimeRange(value): { - relativeTimeRange: - (if std.isArray(value) - then value - else [value]), - }, - '#withRelativeTimeRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) The time range, relative to when the query is executed, across which to query. (see below for nested schema)\nThe time range, relative to when the query is executed, across which to query.' } }, - withRelativeTimeRangeMixin(value): { - relativeTimeRange+: - (if std.isArray(value) - then value - else [value]), - }, - relativeTimeRange+: - { - '#': { help: '', name: 'relativeTimeRange' }, - '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins.\nThe number of seconds in the past, relative to when the rule is evaluated, at which the time range begins.' } }, - withFrom(value): { - from: value, - }, - '#withTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range ends.\nThe number of seconds in the past, relative to when the rule is evaluated, at which the time range ends.' } }, - withTo(value): { - to: value, - }, - }, - }, - '#withExecErrState': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Describes what state to enter when the rule's query is invalid and the rule cannot be executed. Options are OK, Error, KeepLast, and Alerting. Defaults to Alerting.\nDescribes what state to enter when the rule's query is invalid and the rule cannot be executed. Options are OK, Error, KeepLast, and Alerting. Defaults to `Alerting`." } }, - withExecErrState(value): { - execErrState: value, - }, - '#withFor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The amount of time for which the rule must be breached for the rule to be considered to be Firing. Before this time has elapsed, the rule is only considered to be Pending. Defaults to 0.\nThe amount of time for which the rule must be breached for the rule to be considered to be Firing. Before this time has elapsed, the rule is only considered to be Pending. Defaults to `0`.' } }, - withFor(value): { - 'for': value, - }, - '#withIsPaused': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Sets whether the alert should be paused or not. Defaults to false.\nSets whether the alert should be paused or not. Defaults to `false`.' } }, - withIsPaused(value=true): { - isPaused: value, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to map[].\nKey-value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to `map[]`.' } }, - withLabels(value): { - labels: value, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to map[].\nKey-value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to `map[]`.' } }, - withLabelsMixin(value): { - labels+: value, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the rule group.\nThe name of the alert rule.' } }, - withName(value): { - name: value, - }, - '#withNoDataState': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Describes what state to enter when the rule's query returns No Data. Options are OK, NoData, KeepLast, and Alerting. Defaults to NoData.\nDescribes what state to enter when the rule's query returns No Data. Options are OK, NoData, KeepLast, and Alerting. Defaults to `NoData`." } }, - withNoDataState(value): { - noDataState: value, - }, - '#withNotificationSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Block List, Max: 1) Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. (see below for nested schema)\nNotification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled." } }, - withNotificationSettings(value): { - notificationSettings: - (if std.isArray(value) - then value - else [value]), - }, - '#withNotificationSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Block List, Max: 1) Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. (see below for nested schema)\nNotification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled." } }, - withNotificationSettingsMixin(value): { - notificationSettings+: - (if std.isArray(value) - then value - else [value]), - }, - notificationSettings+: - { - '#': { help: '', name: 'notificationSettings' }, - '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The contact point to route notifications that match this rule to.\nThe contact point to route notifications that match this rule to.' } }, - withContactPoint(value): { - contactPoint: value, - }, - '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRef(value): { - contactPointRef: value, - }, - '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRefMixin(value): { - contactPointRef+: value, - }, - contactPointRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - contactPointRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - contactPointRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - contactPointRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - contactPointRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - contactPointRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelector(value): { - contactPointSelector: value, - }, - '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelectorMixin(value): { - contactPointSelector+: value, - }, - contactPointSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - contactPointSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - contactPointSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - contactPointSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - contactPointSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - contactPointSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - contactPointSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - contactPointSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included." } }, - withGroupBy(value): { - groupBy: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included." } }, - withGroupByMixin(value): { - groupBy+: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, - withGroupInterval(value): { - groupInterval: value, - }, - '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, - withGroupWait(value): { - groupWait: value, - }, - '#withMuteTimings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, - withMuteTimings(value): { - muteTimings: - (if std.isArray(value) - then value - else [value]), - }, - '#withMuteTimingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, - withMuteTimingsMixin(value): { - muteTimings+: - (if std.isArray(value) - then value - else [value]), - }, - '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, - withRepeatInterval(value): { - repeatInterval: value, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Defaults to false. Defaults to `false`.' } }, - withDisableProvenance(value=true): { - spec+: { - parameters+: { - initProvider+: { - disableProvenance: value, - }, - }, - }, - }, - '#withFolderRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, - withFolderRef(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef: value, - }, - }, - }, - }, - '#withFolderRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, - withFolderRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: value, - }, - }, - }, - }, - folderRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withFolderSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, - withFolderSelector(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector: value, - }, - }, - }, - }, - '#withFolderSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, - withFolderSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: value, - }, - }, - }, - }, - folderSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The UID of the folder that the group belongs to.\nThe UID of the folder that the group belongs to.' } }, - withFolderUid(value): { - spec+: { - parameters+: { - initProvider+: { - folderUid: value, - }, - }, - }, - }, - '#withIntervalSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The interval, in seconds, at which all rules in the group are evaluated. If a group contains many rules, the rules are evaluated sequentially.\nThe interval, in seconds, at which all rules in the group are evaluated. If a group contains many rules, the rules are evaluated sequentially.' } }, - withIntervalSeconds(value): { - spec+: { - parameters+: { - initProvider+: { - intervalSeconds: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the rule group.\nThe name of the rule group.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withRule': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) The rules within the group. (see below for nested schema)\nThe rules within the group.' } }, - withRule(value): { - spec+: { - parameters+: { - initProvider+: { - rule: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withRuleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) The rules within the group. (see below for nested schema)\nThe rules within the group.' } }, - withRuleMixin(value): { - spec+: { - parameters+: { - initProvider+: { - rule+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - rule+: - { - '#': { help: '', name: 'rule' }, - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to map[].\nKey-value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to `map[]`.' } }, - withAnnotations(value): { - annotations: value, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to map[].\nKey-value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to `map[]`.' } }, - withAnnotationsMixin(value): { - annotations+: value, - }, - '#withCondition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ref_id of the query node in the data field to use as the alert condition.\nThe `ref_id` of the query node in the `data` field to use as the alert condition.' } }, - withCondition(value): { - condition: value, - }, - '#withData': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) A sequence of stages that describe the contents of the rule. (see below for nested schema)\nA sequence of stages that describe the contents of the rule.' } }, - withData(value): { - data: - (if std.isArray(value) - then value - else [value]), - }, - '#withDataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) A sequence of stages that describe the contents of the rule. (see below for nested schema)\nA sequence of stages that describe the contents of the rule.' } }, - withDataMixin(value): { - data+: - (if std.isArray(value) - then value - else [value]), - }, - data+: - { - '#': { help: '', name: 'data' }, - '#withDatasourceUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '100" if this stage is an expression stage.\nThe UID of the datasource being queried, or "-100" if this stage is an expression stage.' } }, - withDatasourceUid(value): { - datasourceUid: value, - }, - '#withModel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Custom JSON data to send to the specified datasource when querying.\nCustom JSON data to send to the specified datasource when querying.' } }, - withModel(value): { - model: value, - }, - '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) An optional identifier for the type of query being executed. Defaults to “.\nAn optional identifier for the type of query being executed. Defaults to “.' } }, - withQueryType(value): { - queryType: value, - }, - '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) A unique string to identify this query stage within a rule.\nA unique string to identify this query stage within a rule.' } }, - withRefId(value): { - refId: value, - }, - '#withRelativeTimeRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) The time range, relative to when the query is executed, across which to query. (see below for nested schema)\nThe time range, relative to when the query is executed, across which to query.' } }, - withRelativeTimeRange(value): { - relativeTimeRange: - (if std.isArray(value) - then value - else [value]), - }, - '#withRelativeTimeRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) The time range, relative to when the query is executed, across which to query. (see below for nested schema)\nThe time range, relative to when the query is executed, across which to query.' } }, - withRelativeTimeRangeMixin(value): { - relativeTimeRange+: - (if std.isArray(value) - then value - else [value]), - }, - relativeTimeRange+: - { - '#': { help: '', name: 'relativeTimeRange' }, - '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins.\nThe number of seconds in the past, relative to when the rule is evaluated, at which the time range begins.' } }, - withFrom(value): { - from: value, - }, - '#withTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range ends.\nThe number of seconds in the past, relative to when the rule is evaluated, at which the time range ends.' } }, - withTo(value): { - to: value, - }, - }, - }, - '#withExecErrState': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Describes what state to enter when the rule's query is invalid and the rule cannot be executed. Options are OK, Error, KeepLast, and Alerting. Defaults to Alerting.\nDescribes what state to enter when the rule's query is invalid and the rule cannot be executed. Options are OK, Error, KeepLast, and Alerting. Defaults to `Alerting`." } }, - withExecErrState(value): { - execErrState: value, - }, - '#withFor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The amount of time for which the rule must be breached for the rule to be considered to be Firing. Before this time has elapsed, the rule is only considered to be Pending. Defaults to 0.\nThe amount of time for which the rule must be breached for the rule to be considered to be Firing. Before this time has elapsed, the rule is only considered to be Pending. Defaults to `0`.' } }, - withFor(value): { - 'for': value, - }, - '#withIsPaused': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Sets whether the alert should be paused or not. Defaults to false.\nSets whether the alert should be paused or not. Defaults to `false`.' } }, - withIsPaused(value=true): { - isPaused: value, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to map[].\nKey-value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to `map[]`.' } }, - withLabels(value): { - labels: value, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to map[].\nKey-value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to `map[]`.' } }, - withLabelsMixin(value): { - labels+: value, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the rule group.\nThe name of the alert rule.' } }, - withName(value): { - name: value, - }, - '#withNoDataState': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Describes what state to enter when the rule's query returns No Data. Options are OK, NoData, KeepLast, and Alerting. Defaults to NoData.\nDescribes what state to enter when the rule's query returns No Data. Options are OK, NoData, KeepLast, and Alerting. Defaults to `NoData`." } }, - withNoDataState(value): { - noDataState: value, - }, - '#withNotificationSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Block List, Max: 1) Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. (see below for nested schema)\nNotification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled." } }, - withNotificationSettings(value): { - notificationSettings: - (if std.isArray(value) - then value - else [value]), - }, - '#withNotificationSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Block List, Max: 1) Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. (see below for nested schema)\nNotification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled." } }, - withNotificationSettingsMixin(value): { - notificationSettings+: - (if std.isArray(value) - then value - else [value]), - }, - notificationSettings+: - { - '#': { help: '', name: 'notificationSettings' }, - '#withContactPoint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The contact point to route notifications that match this rule to.\nThe contact point to route notifications that match this rule to.' } }, - withContactPoint(value): { - contactPoint: value, - }, - '#withContactPointRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRef(value): { - contactPointRef: value, - }, - '#withContactPointRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointRefMixin(value): { - contactPointRef+: value, - }, - contactPointRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - contactPointRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - contactPointRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - contactPointRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - contactPointRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - contactPointRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withContactPointSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelector(value): { - contactPointSelector: value, - }, - '#withContactPointSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ContactPoint in alerting to populate contactPoint.' } }, - withContactPointSelectorMixin(value): { - contactPointSelector+: value, - }, - contactPointSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - contactPointSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - contactPointSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - contactPointSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - contactPointSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - contactPointSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - contactPointSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - contactPointSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included." } }, - withGroupBy(value): { - groupBy: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included.\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included." } }, - withGroupByMixin(value): { - groupBy+: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Minimum time interval between two notifications for the same group. Default is 5 minutes.\nMinimum time interval between two notifications for the same group. Default is 5 minutes.' } }, - withGroupInterval(value): { - groupInterval: value, - }, - '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.\nTime to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.' } }, - withGroupWait(value): { - groupWait: value, - }, - '#withMuteTimings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, - withMuteTimings(value): { - muteTimings: - (if std.isArray(value) - then value - else [value]), - }, - '#withMuteTimingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) A list of mute timing names to apply to alerts that match this policy.\nA list of mute timing names to apply to alerts that match this policy.' } }, - withMuteTimingsMixin(value): { - muteTimings+: - (if std.isArray(value) - then value - else [value]), - }, - '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.' } }, - withRepeatInterval(value): { - repeatInterval: value, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - }, - }, - cloud+: - { - '#': { help: '', name: 'cloud' }, - v1alpha1+: - { - accessPolicy+: - { - '#': { help: '', name: 'accessPolicy' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'cloud.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'AccessPolicy', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'AccessPolicySpec defines the desired state of AccessPolicy' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'AccessPolicySpec defines the desired state of AccessPolicy' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withDisplayName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Display name of the access policy. Defaults to the name.\nDisplay name of the access policy. Defaults to the name.' } }, - withDisplayName(value): { - spec+: { - parameters+: { - forProvider+: { - displayName: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the access policy.\nName of the access policy.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withRealm': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1) (see below for nested schema)' } }, - withRealm(value): { - spec+: { - parameters+: { - forProvider+: { - realm: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withRealmMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1) (see below for nested schema)' } }, - withRealmMixin(value): { - spec+: { - parameters+: { - forProvider+: { - realm+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - realm+: - { - '#': { help: '', name: 'realm' }, - '#withIdentifier': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The identifier of the org or stack. For orgs, this is the slug, for stacks, this is the stack ID.\nThe identifier of the org or stack. For orgs, this is the slug, for stacks, this is the stack ID.' } }, - withIdentifier(value): { - identifier: value, - }, - '#withLabelPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) (see below for nested schema)' } }, - withLabelPolicy(value): { - labelPolicy: - (if std.isArray(value) - then value - else [value]), - }, - '#withLabelPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) (see below for nested schema)' } }, - withLabelPolicyMixin(value): { - labelPolicy+: - (if std.isArray(value) - then value - else [value]), - }, - labelPolicy+: - { - '#': { help: '', name: 'labelPolicy' }, - '#withSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The label selector to match in metrics or logs query. Should be in PromQL or LogQL format.\nThe label selector to match in metrics or logs query. Should be in PromQL or LogQL format.' } }, - withSelector(value): { - selector: value, - }, - }, - '#withStackRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate identifier.' } }, - withStackRef(value): { - stackRef: value, - }, - '#withStackRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate identifier.' } }, - withStackRefMixin(value): { - stackRef+: value, - }, - stackRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - stackRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - stackRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - stackRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - stackRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - stackRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withStackSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate identifier.' } }, - withStackSelector(value): { - stackSelector: value, - }, - '#withStackSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate identifier.' } }, - withStackSelectorMixin(value): { - stackSelector+: value, - }, - stackSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - stackSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - stackSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - stackSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - stackSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - stackSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - stackSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - stackSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Whether a policy applies to a Cloud org or a specific stack. Should be one of org or stack.\nWhether a policy applies to a Cloud org or a specific stack. Should be one of `org` or `stack`.' } }, - withType(value): { - type: value, - }, - }, - '#withRegion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'cloud/developer-resources/api-reference/cloud-api/#list-regions.\nRegion where the API is deployed. Generally where the stack is deployed. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.' } }, - withRegion(value): { - spec+: { - parameters+: { - forProvider+: { - region: value, - }, - }, - }, - }, - '#withScopes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.\nScopes of the access policy. See https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.' } }, - withScopes(value): { - spec+: { - parameters+: { - forProvider+: { - scopes: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withScopesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.\nScopes of the access policy. See https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.' } }, - withScopesMixin(value): { - spec+: { - parameters+: { - forProvider+: { - scopes+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withDisplayName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Display name of the access policy. Defaults to the name.\nDisplay name of the access policy. Defaults to the name.' } }, - withDisplayName(value): { - spec+: { - parameters+: { - initProvider+: { - displayName: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the access policy.\nName of the access policy.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withRealm': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1) (see below for nested schema)' } }, - withRealm(value): { - spec+: { - parameters+: { - initProvider+: { - realm: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withRealmMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1) (see below for nested schema)' } }, - withRealmMixin(value): { - spec+: { - parameters+: { - initProvider+: { - realm+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - realm+: - { - '#': { help: '', name: 'realm' }, - '#withIdentifier': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The identifier of the org or stack. For orgs, this is the slug, for stacks, this is the stack ID.\nThe identifier of the org or stack. For orgs, this is the slug, for stacks, this is the stack ID.' } }, - withIdentifier(value): { - identifier: value, - }, - '#withLabelPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) (see below for nested schema)' } }, - withLabelPolicy(value): { - labelPolicy: - (if std.isArray(value) - then value - else [value]), - }, - '#withLabelPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) (see below for nested schema)' } }, - withLabelPolicyMixin(value): { - labelPolicy+: - (if std.isArray(value) - then value - else [value]), - }, - labelPolicy+: - { - '#': { help: '', name: 'labelPolicy' }, - '#withSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The label selector to match in metrics or logs query. Should be in PromQL or LogQL format.\nThe label selector to match in metrics or logs query. Should be in PromQL or LogQL format.' } }, - withSelector(value): { - selector: value, - }, - }, - '#withStackRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate identifier.' } }, - withStackRef(value): { - stackRef: value, - }, - '#withStackRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate identifier.' } }, - withStackRefMixin(value): { - stackRef+: value, - }, - stackRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - stackRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - stackRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - stackRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - stackRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - stackRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withStackSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate identifier.' } }, - withStackSelector(value): { - stackSelector: value, - }, - '#withStackSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate identifier.' } }, - withStackSelectorMixin(value): { - stackSelector+: value, - }, - stackSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - stackSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - stackSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - stackSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - stackSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - stackSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - stackSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - stackSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Whether a policy applies to a Cloud org or a specific stack. Should be one of org or stack.\nWhether a policy applies to a Cloud org or a specific stack. Should be one of `org` or `stack`.' } }, - withType(value): { - type: value, - }, - }, - '#withRegion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'cloud/developer-resources/api-reference/cloud-api/#list-regions.\nRegion where the API is deployed. Generally where the stack is deployed. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.' } }, - withRegion(value): { - spec+: { - parameters+: { - initProvider+: { - region: value, - }, - }, - }, - }, - '#withScopes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.\nScopes of the access policy. See https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.' } }, - withScopes(value): { - spec+: { - parameters+: { - initProvider+: { - scopes: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withScopesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.\nScopes of the access policy. See https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.' } }, - withScopesMixin(value): { - spec+: { - parameters+: { - initProvider+: { - scopes+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - accessPolicyToken+: - { - '#': { help: '', name: 'accessPolicyToken' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'cloud.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'AccessPolicyToken', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'AccessPolicyTokenSpec defines the desired state of AccessPolicyToken' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'AccessPolicyTokenSpec defines the desired state of AccessPolicyToken' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withAccessPolicyId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the access policy for which to create a token.\nID of the access policy for which to create a token.' } }, - withAccessPolicyId(value): { - spec+: { - parameters+: { - forProvider+: { - accessPolicyId: value, - }, - }, - }, - }, - '#withAccessPolicyRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a AccessPolicy in cloud to populate accessPolicyId.' } }, - withAccessPolicyRef(value): { - spec+: { - parameters+: { - forProvider+: { - accessPolicyRef: value, - }, - }, - }, - }, - '#withAccessPolicyRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a AccessPolicy in cloud to populate accessPolicyId.' } }, - withAccessPolicyRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - accessPolicyRef+: value, - }, - }, - }, - }, - accessPolicyRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - accessPolicyRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - accessPolicyRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - accessPolicyRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - accessPolicyRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - accessPolicyRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withAccessPolicySelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a AccessPolicy in cloud to populate accessPolicyId.' } }, - withAccessPolicySelector(value): { - spec+: { - parameters+: { - forProvider+: { - accessPolicySelector: value, - }, - }, - }, - }, - '#withAccessPolicySelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a AccessPolicy in cloud to populate accessPolicyId.' } }, - withAccessPolicySelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - accessPolicySelector+: value, - }, - }, - }, - }, - accessPolicySelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - accessPolicySelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - accessPolicySelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - accessPolicySelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - accessPolicySelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - accessPolicySelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - accessPolicySelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - accessPolicySelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDisplayName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Display name of the access policy token. Defaults to the name.\nDisplay name of the access policy token. Defaults to the name.' } }, - withDisplayName(value): { - spec+: { - parameters+: { - forProvider+: { - displayName: value, - }, - }, - }, - }, - '#withExpiresAt': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Expiration date of the access policy token. Does not expire by default.\nExpiration date of the access policy token. Does not expire by default.' } }, - withExpiresAt(value): { - spec+: { - parameters+: { - forProvider+: { - expiresAt: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the access policy token.\nName of the access policy token.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withRegion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'cloud/developer-resources/api-reference/cloud-api/#list-regions.\nRegion of the access policy. Should be set to the same region as the access policy. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.' } }, - withRegion(value): { - spec+: { - parameters+: { - forProvider+: { - region: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withAccessPolicyId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the access policy for which to create a token.\nID of the access policy for which to create a token.' } }, - withAccessPolicyId(value): { - spec+: { - parameters+: { - initProvider+: { - accessPolicyId: value, - }, - }, - }, - }, - '#withAccessPolicyRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a AccessPolicy in cloud to populate accessPolicyId.' } }, - withAccessPolicyRef(value): { - spec+: { - parameters+: { - initProvider+: { - accessPolicyRef: value, - }, - }, - }, - }, - '#withAccessPolicyRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a AccessPolicy in cloud to populate accessPolicyId.' } }, - withAccessPolicyRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - accessPolicyRef+: value, - }, - }, - }, - }, - accessPolicyRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - accessPolicyRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - accessPolicyRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - accessPolicyRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - accessPolicyRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - accessPolicyRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withAccessPolicySelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a AccessPolicy in cloud to populate accessPolicyId.' } }, - withAccessPolicySelector(value): { - spec+: { - parameters+: { - initProvider+: { - accessPolicySelector: value, - }, - }, - }, - }, - '#withAccessPolicySelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a AccessPolicy in cloud to populate accessPolicyId.' } }, - withAccessPolicySelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - accessPolicySelector+: value, - }, - }, - }, - }, - accessPolicySelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - accessPolicySelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - accessPolicySelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - accessPolicySelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - accessPolicySelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - accessPolicySelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - accessPolicySelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - accessPolicySelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDisplayName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Display name of the access policy token. Defaults to the name.\nDisplay name of the access policy token. Defaults to the name.' } }, - withDisplayName(value): { - spec+: { - parameters+: { - initProvider+: { - displayName: value, - }, - }, - }, - }, - '#withExpiresAt': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Expiration date of the access policy token. Does not expire by default.\nExpiration date of the access policy token. Does not expire by default.' } }, - withExpiresAt(value): { - spec+: { - parameters+: { - initProvider+: { - expiresAt: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the access policy token.\nName of the access policy token.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withRegion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'cloud/developer-resources/api-reference/cloud-api/#list-regions.\nRegion of the access policy. Should be set to the same region as the access policy. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.' } }, - withRegion(value): { - spec+: { - parameters+: { - initProvider+: { - region: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - pluginInstallation+: - { - '#': { help: '', name: 'pluginInstallation' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'cloud.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'PluginInstallation', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PluginInstallationSpec defines the desired state of PluginInstallation' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PluginInstallationSpec defines the desired state of PluginInstallation' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withCloudStackRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, - withCloudStackRef(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef: value, - }, - }, - }, - }, - '#withCloudStackRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, - withCloudStackRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: value, - }, - }, - }, - }, - cloudStackRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withCloudStackSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, - withCloudStackSelector(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector: value, - }, - }, - }, - }, - '#withCloudStackSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, - withCloudStackSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: value, - }, - }, - }, - }, - cloudStackSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Slug of the plugin to be installed.\nSlug of the plugin to be installed.' } }, - withSlug(value): { - spec+: { - parameters+: { - forProvider+: { - slug: value, - }, - }, - }, - }, - '#withStackSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The stack id to which the plugin should be installed.\nThe stack id to which the plugin should be installed.' } }, - withStackSlug(value): { - spec+: { - parameters+: { - forProvider+: { - stackSlug: value, - }, - }, - }, - }, - '#withVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Version of the plugin to be installed.\nVersion of the plugin to be installed.' } }, - withVersion(value): { - spec+: { - parameters+: { - forProvider+: { - version: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withCloudStackRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, - withCloudStackRef(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef: value, - }, - }, - }, - }, - '#withCloudStackRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, - withCloudStackRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: value, - }, - }, - }, - }, - cloudStackRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withCloudStackSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, - withCloudStackSelector(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector: value, - }, - }, - }, - }, - '#withCloudStackSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, - withCloudStackSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: value, - }, - }, - }, - }, - cloudStackSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Slug of the plugin to be installed.\nSlug of the plugin to be installed.' } }, - withSlug(value): { - spec+: { - parameters+: { - initProvider+: { - slug: value, - }, - }, - }, - }, - '#withStackSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The stack id to which the plugin should be installed.\nThe stack id to which the plugin should be installed.' } }, - withStackSlug(value): { - spec+: { - parameters+: { - initProvider+: { - stackSlug: value, - }, - }, - }, - }, - '#withVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Version of the plugin to be installed.\nVersion of the plugin to be installed.' } }, - withVersion(value): { - spec+: { - parameters+: { - initProvider+: { - version: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - stack+: - { - '#': { help: '', name: 'stack' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'cloud.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'Stack', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'StackSpec defines the desired state of Stack' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'StackSpec defines the desired state of Stack' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Description of stack.\nDescription of stack.' } }, - withDescription(value): { - spec+: { - parameters+: { - forProvider+: { - description: value, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'zA-Z0-9/\\-.]+$" and stacks cannot have more than 10 labels.\nA map of labels to assign to the stack. Label keys and values must match the following regexp: "^[a-zA-Z0-9/\\\\-.]+$" and stacks cannot have more than 10 labels.' } }, - withLabels(value): { - spec+: { - parameters+: { - forProvider+: { - labels: value, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'zA-Z0-9/\\-.]+$" and stacks cannot have more than 10 labels.\nA map of labels to assign to the stack. Label keys and values must match the following regexp: "^[a-zA-Z0-9/\\\\-.]+$" and stacks cannot have more than 10 labels.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - labels+: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of stack. Conventionally matches the url of the instance (e.g. .grafana.net).\nName of stack. Conventionally matches the url of the instance (e.g. `.grafana.net`).' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withRegionSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'cloud/developer-resources/api-reference/cloud-api/#list-regions.\nRegion slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.' } }, - withRegionSlug(value): { - spec+: { - parameters+: { - forProvider+: { - regionSlug: value, - }, - }, - }, - }, - '#withSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Subdomain that the Grafana instance will be available at. Setting slug to will make the instance available at https://.grafana.net.\nSubdomain that the Grafana instance will be available at. Setting slug to `` will make the instance available at `https://.grafana.net`.' } }, - withSlug(value): { - spec+: { - parameters+: { - forProvider+: { - slug: value, - }, - }, - }, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Custom URL for the Grafana instance. Must have a CNAME setup to point to .grafana.net before creating the stack\nCustom URL for the Grafana instance. Must have a CNAME setup to point to `.grafana.net` before creating the stack' } }, - withUrl(value): { - spec+: { - parameters+: { - forProvider+: { - url: value, - }, - }, - }, - }, - '#withWaitForReadiness': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to true.\nWhether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to `true`.' } }, - withWaitForReadiness(value=true): { - spec+: { - parameters+: { - forProvider+: { - waitForReadiness: value, - }, - }, - }, - }, - '#withWaitForReadinessTimeout': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) How long to wait for readiness (if enabled). Defaults to 5m0s.\nHow long to wait for readiness (if enabled). Defaults to `5m0s`.' } }, - withWaitForReadinessTimeout(value): { - spec+: { - parameters+: { - forProvider+: { - waitForReadinessTimeout: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Description of stack.\nDescription of stack.' } }, - withDescription(value): { - spec+: { - parameters+: { - initProvider+: { - description: value, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'zA-Z0-9/\\-.]+$" and stacks cannot have more than 10 labels.\nA map of labels to assign to the stack. Label keys and values must match the following regexp: "^[a-zA-Z0-9/\\\\-.]+$" and stacks cannot have more than 10 labels.' } }, - withLabels(value): { - spec+: { - parameters+: { - initProvider+: { - labels: value, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'zA-Z0-9/\\-.]+$" and stacks cannot have more than 10 labels.\nA map of labels to assign to the stack. Label keys and values must match the following regexp: "^[a-zA-Z0-9/\\\\-.]+$" and stacks cannot have more than 10 labels.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - labels+: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of stack. Conventionally matches the url of the instance (e.g. .grafana.net).\nName of stack. Conventionally matches the url of the instance (e.g. `.grafana.net`).' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withRegionSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'cloud/developer-resources/api-reference/cloud-api/#list-regions.\nRegion slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.' } }, - withRegionSlug(value): { - spec+: { - parameters+: { - initProvider+: { - regionSlug: value, - }, - }, - }, - }, - '#withSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Subdomain that the Grafana instance will be available at. Setting slug to will make the instance available at https://.grafana.net.\nSubdomain that the Grafana instance will be available at. Setting slug to `` will make the instance available at `https://.grafana.net`.' } }, - withSlug(value): { - spec+: { - parameters+: { - initProvider+: { - slug: value, - }, - }, - }, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Custom URL for the Grafana instance. Must have a CNAME setup to point to .grafana.net before creating the stack\nCustom URL for the Grafana instance. Must have a CNAME setup to point to `.grafana.net` before creating the stack' } }, - withUrl(value): { - spec+: { - parameters+: { - initProvider+: { - url: value, - }, - }, - }, - }, - '#withWaitForReadiness': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to true.\nWhether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to `true`.' } }, - withWaitForReadiness(value=true): { - spec+: { - parameters+: { - initProvider+: { - waitForReadiness: value, - }, - }, - }, - }, - '#withWaitForReadinessTimeout': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) How long to wait for readiness (if enabled). Defaults to 5m0s.\nHow long to wait for readiness (if enabled). Defaults to `5m0s`.' } }, - withWaitForReadinessTimeout(value): { - spec+: { - parameters+: { - initProvider+: { - waitForReadinessTimeout: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - stackServiceAccount+: - { - '#': { help: '', name: 'stackServiceAccount' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'cloud.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'StackServiceAccount', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'StackServiceAccountSpec defines the desired state of StackServiceAccount' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'StackServiceAccountSpec defines the desired state of StackServiceAccount' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withCloudStackRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, - withCloudStackRef(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef: value, - }, - }, - }, - }, - '#withCloudStackRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, - withCloudStackRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: value, - }, - }, - }, - }, - cloudStackRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withCloudStackSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, - withCloudStackSelector(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector: value, - }, - }, - }, - }, - '#withCloudStackSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, - withCloudStackSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: value, - }, - }, - }, - }, - cloudStackSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withIsDisabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) The disabled status for the service account. Defaults to false.\nThe disabled status for the service account. Defaults to `false`.' } }, - withIsDisabled(value=true): { - spec+: { - parameters+: { - forProvider+: { - isDisabled: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the service account.\nThe name of the service account.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The basic role of the service account in the organization.\nThe basic role of the service account in the organization.' } }, - withRole(value): { - spec+: { - parameters+: { - forProvider+: { - role: value, - }, - }, - }, - }, - '#withStackSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withStackSlug(value): { - spec+: { - parameters+: { - forProvider+: { - stackSlug: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withCloudStackRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, - withCloudStackRef(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef: value, - }, - }, - }, - }, - '#withCloudStackRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, - withCloudStackRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: value, - }, - }, - }, - }, - cloudStackRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withCloudStackSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, - withCloudStackSelector(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector: value, - }, - }, - }, - }, - '#withCloudStackSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, - withCloudStackSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: value, - }, - }, - }, - }, - cloudStackSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withIsDisabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) The disabled status for the service account. Defaults to false.\nThe disabled status for the service account. Defaults to `false`.' } }, - withIsDisabled(value=true): { - spec+: { - parameters+: { - initProvider+: { - isDisabled: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the service account.\nThe name of the service account.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The basic role of the service account in the organization.\nThe basic role of the service account in the organization.' } }, - withRole(value): { - spec+: { - parameters+: { - initProvider+: { - role: value, - }, - }, - }, - }, - '#withStackSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withStackSlug(value): { - spec+: { - parameters+: { - initProvider+: { - stackSlug: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - stackServiceAccountToken+: - { - '#': { help: '', name: 'stackServiceAccountToken' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'cloud.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'StackServiceAccountToken', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'StackServiceAccountTokenSpec defines the desired state of StackServiceAccountToken' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'StackServiceAccountTokenSpec defines the desired state of StackServiceAccountToken' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withCloudStackRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, - withCloudStackRef(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef: value, - }, - }, - }, - }, - '#withCloudStackRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, - withCloudStackRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: value, - }, - }, - }, - }, - cloudStackRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withCloudStackSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, - withCloudStackSelector(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector: value, - }, - }, - }, - }, - '#withCloudStackSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, - withCloudStackSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: value, - }, - }, - }, - }, - cloudStackSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withSecondsToLive': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number)' } }, - withSecondsToLive(value): { - spec+: { - parameters+: { - forProvider+: { - secondsToLive: value, - }, - }, - }, - }, - '#withServiceAccountId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withServiceAccountId(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountId: value, - }, - }, - }, - }, - '#withServiceAccountRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a StackServiceAccount in cloud to populate serviceAccountId.' } }, - withServiceAccountRef(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRef: value, - }, - }, - }, - }, - '#withServiceAccountRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a StackServiceAccount in cloud to populate serviceAccountId.' } }, - withServiceAccountRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRef+: value, - }, - }, - }, - }, - serviceAccountRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withServiceAccountSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a StackServiceAccount in cloud to populate serviceAccountId.' } }, - withServiceAccountSelector(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector: value, - }, - }, - }, - }, - '#withServiceAccountSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a StackServiceAccount in cloud to populate serviceAccountId.' } }, - withServiceAccountSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: value, - }, - }, - }, - }, - serviceAccountSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withStackSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withStackSlug(value): { - spec+: { - parameters+: { - forProvider+: { - stackSlug: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withCloudStackRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, - withCloudStackRef(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef: value, - }, - }, - }, - }, - '#withCloudStackRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackSlug.' } }, - withCloudStackRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: value, - }, - }, - }, - }, - cloudStackRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withCloudStackSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, - withCloudStackSelector(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector: value, - }, - }, - }, - }, - '#withCloudStackSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackSlug.' } }, - withCloudStackSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: value, - }, - }, - }, - }, - cloudStackSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withSecondsToLive': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number)' } }, - withSecondsToLive(value): { - spec+: { - parameters+: { - initProvider+: { - secondsToLive: value, - }, - }, - }, - }, - '#withServiceAccountId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withServiceAccountId(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountId: value, - }, - }, - }, - }, - '#withServiceAccountRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a StackServiceAccount in cloud to populate serviceAccountId.' } }, - withServiceAccountRef(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRef: value, - }, - }, - }, - }, - '#withServiceAccountRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a StackServiceAccount in cloud to populate serviceAccountId.' } }, - withServiceAccountRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRef+: value, - }, - }, - }, - }, - serviceAccountRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withServiceAccountSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a StackServiceAccount in cloud to populate serviceAccountId.' } }, - withServiceAccountSelector(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector: value, - }, - }, - }, - }, - '#withServiceAccountSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a StackServiceAccount in cloud to populate serviceAccountId.' } }, - withServiceAccountSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: value, - }, - }, - }, - }, - serviceAccountSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withStackSlug': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withStackSlug(value): { - spec+: { - parameters+: { - initProvider+: { - stackSlug: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - }, - }, - enterprise+: - { - '#': { help: '', name: 'enterprise' }, - v1alpha1+: - { - dataSourcePermission+: - { - '#': { help: '', name: 'dataSourcePermission' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'enterprise.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'DataSourcePermission', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'DataSourcePermissionSpec defines the desired state of DataSourcePermission' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'DataSourcePermissionSpec defines the desired state of DataSourcePermission' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withDatasourceUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) UID of the datasource to apply permissions to.\nUID of the datasource to apply permissions to.' } }, - withDatasourceUid(value): { - spec+: { - parameters+: { - forProvider+: { - datasourceUid: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withPermissions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, - withPermissions(value): { - spec+: { - parameters+: { - forProvider+: { - permissions: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPermissionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, - withPermissionsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - permissions+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - permissions+: - { - '#': { help: '', name: 'permissions' }, - '#withBuiltInRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`.' } }, - withBuiltInRole(value): { - builtInRole: value, - }, - '#withPermission': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Permission to associate with item. Options: Query, Edit or Admin (Admin can only be used with Grafana v10.3.0+).\nPermission to associate with item. Options: `Query`, `Edit` or `Admin` (`Admin` can only be used with Grafana v10.3.0+).' } }, - withPermission(value): { - permission: value, - }, - '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the team to manage permissions for. Defaults to 0.\nID of the team to manage permissions for. Defaults to `0`.' } }, - withTeamId(value): { - teamId: value, - }, - '#withTeamRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, - withTeamRef(value): { - teamRef: value, - }, - '#withTeamRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, - withTeamRefMixin(value): { - teamRef+: value, - }, - teamRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - teamRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - teamRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - teamRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - teamRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - teamRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, - withTeamSelector(value): { - teamSelector: value, - }, - '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, - withTeamSelectorMixin(value): { - teamSelector+: value, - }, - teamSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - teamSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - teamSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - teamSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - teamSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - teamSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - teamSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - teamSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withUserId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the user or service account to manage permissions for. Defaults to 0.\nID of the user or service account to manage permissions for. Defaults to `0`.' } }, - withUserId(value): { - userId: value, - }, - '#withUserRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, - withUserRef(value): { - userRef: value, - }, - '#withUserRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, - withUserRefMixin(value): { - userRef+: value, - }, - userRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - userRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - userRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - userRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - userRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - userRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withUserSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, - withUserSelector(value): { - userSelector: value, - }, - '#withUserSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, - withUserSelectorMixin(value): { - userSelector+: value, - }, - userSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - userSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - userSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - userSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - userSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - userSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - userSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - userSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withDatasourceUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) UID of the datasource to apply permissions to.\nUID of the datasource to apply permissions to.' } }, - withDatasourceUid(value): { - spec+: { - parameters+: { - initProvider+: { - datasourceUid: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withPermissions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, - withPermissions(value): { - spec+: { - parameters+: { - initProvider+: { - permissions: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPermissionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, - withPermissionsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - permissions+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - permissions+: - { - '#': { help: '', name: 'permissions' }, - '#withBuiltInRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`.' } }, - withBuiltInRole(value): { - builtInRole: value, - }, - '#withPermission': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Permission to associate with item. Options: Query, Edit or Admin (Admin can only be used with Grafana v10.3.0+).\nPermission to associate with item. Options: `Query`, `Edit` or `Admin` (`Admin` can only be used with Grafana v10.3.0+).' } }, - withPermission(value): { - permission: value, - }, - '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the team to manage permissions for. Defaults to 0.\nID of the team to manage permissions for. Defaults to `0`.' } }, - withTeamId(value): { - teamId: value, - }, - '#withTeamRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, - withTeamRef(value): { - teamRef: value, - }, - '#withTeamRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, - withTeamRefMixin(value): { - teamRef+: value, - }, - teamRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - teamRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - teamRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - teamRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - teamRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - teamRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, - withTeamSelector(value): { - teamSelector: value, - }, - '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, - withTeamSelectorMixin(value): { - teamSelector+: value, - }, - teamSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - teamSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - teamSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - teamSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - teamSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - teamSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - teamSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - teamSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withUserId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the user or service account to manage permissions for. Defaults to 0.\nID of the user or service account to manage permissions for. Defaults to `0`.' } }, - withUserId(value): { - userId: value, - }, - '#withUserRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, - withUserRef(value): { - userRef: value, - }, - '#withUserRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, - withUserRefMixin(value): { - userRef+: value, - }, - userRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - userRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - userRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - userRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - userRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - userRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withUserSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, - withUserSelector(value): { - userSelector: value, - }, - '#withUserSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, - withUserSelectorMixin(value): { - userSelector+: value, - }, - userSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - userSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - userSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - userSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - userSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - userSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - userSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - userSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - report+: - { - '#': { help: '', name: 'report' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'enterprise.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'Report', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ReportSpec defines the desired state of Report' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ReportSpec defines the desired state of Report' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withDashboards': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) List of dashboards to render into the report (see below for nested schema)\nList of dashboards to render into the report' } }, - withDashboards(value): { - spec+: { - parameters+: { - forProvider+: { - dashboards: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withDashboardsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) List of dashboards to render into the report (see below for nested schema)\nList of dashboards to render into the report' } }, - withDashboardsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dashboards+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - dashboards+: - { - '#': { help: '', name: 'dashboards' }, - '#withReportVariables': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Add report variables to the dashboard. Values should be separated by commas.\nAdd report variables to the dashboard. Values should be separated by commas.' } }, - withReportVariables(value): { - reportVariables: value, - }, - '#withReportVariablesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Add report variables to the dashboard. Values should be separated by commas.\nAdd report variables to the dashboard. Values should be separated by commas.' } }, - withReportVariablesMixin(value): { - reportVariables+: value, - }, - '#withTimeRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Time range of the report. (see below for nested schema)\nTime range of the report.' } }, - withTimeRange(value): { - timeRange: - (if std.isArray(value) - then value - else [value]), - }, - '#withTimeRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Time range of the report. (see below for nested schema)\nTime range of the report.' } }, - withTimeRangeMixin(value): { - timeRange+: - (if std.isArray(value) - then value - else [value]), - }, - timeRange+: - { - '#': { help: '', name: 'timeRange' }, - '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Start of the time range.\nStart of the time range.' } }, - withFrom(value): { - from: value, - }, - '#withTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) End of the time range.\nEnd of the time range.' } }, - withTo(value): { - to: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Dashboard uid.\nDashboard uid.' } }, - withUid(value): { - uid: value, - }, - }, - '#withFormats': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Specifies what kind of attachment to generate for the report. Allowed values: pdf, csv, image.\nSpecifies what kind of attachment to generate for the report. Allowed values: `pdf`, `csv`, `image`.' } }, - withFormats(value): { - spec+: { - parameters+: { - forProvider+: { - formats: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withFormatsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Specifies what kind of attachment to generate for the report. Allowed values: pdf, csv, image.\nSpecifies what kind of attachment to generate for the report. Allowed values: `pdf`, `csv`, `image`.' } }, - withFormatsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - formats+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withIncludeDashboardLink': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to include a link to the dashboard in the report. Defaults to true.\nWhether to include a link to the dashboard in the report. Defaults to `true`.' } }, - withIncludeDashboardLink(value=true): { - spec+: { - parameters+: { - forProvider+: { - includeDashboardLink: value, - }, - }, - }, - }, - '#withIncludeTableCsv': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to include a CSV file of table panel data. Defaults to false.\nWhether to include a CSV file of table panel data. Defaults to `false`.' } }, - withIncludeTableCsv(value=true): { - spec+: { - parameters+: { - forProvider+: { - includeTableCsv: value, - }, - }, - }, - }, - '#withLayout': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Layout of the report. Allowed values: simple, grid. Defaults to grid.\nLayout of the report. Allowed values: `simple`, `grid`. Defaults to `grid`.' } }, - withLayout(value): { - spec+: { - parameters+: { - forProvider+: { - layout: value, - }, - }, - }, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Message to be sent in the report.\nMessage to be sent in the report.' } }, - withMessage(value): { - spec+: { - parameters+: { - forProvider+: { - message: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the report.\nName of the report.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrientation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Orientation of the report. Allowed values: landscape, portrait. Defaults to landscape.\nOrientation of the report. Allowed values: `landscape`, `portrait`. Defaults to `landscape`.' } }, - withOrientation(value): { - spec+: { - parameters+: { - forProvider+: { - orientation: value, - }, - }, - }, - }, - '#withRecipients': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) List of recipients of the report.\nList of recipients of the report.' } }, - withRecipients(value): { - spec+: { - parameters+: { - forProvider+: { - recipients: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withRecipientsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) List of recipients of the report.\nList of recipients of the report.' } }, - withRecipientsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - recipients+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withReplyTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'to email address of the report.\nReply-to email address of the report.' } }, - withReplyTo(value): { - spec+: { - parameters+: { - forProvider+: { - replyTo: value, - }, - }, - }, - }, - '#withSchedule': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) Schedule of the report. (see below for nested schema)\nSchedule of the report.' } }, - withSchedule(value): { - spec+: { - parameters+: { - forProvider+: { - schedule: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withScheduleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) Schedule of the report. (see below for nested schema)\nSchedule of the report.' } }, - withScheduleMixin(value): { - spec+: { - parameters+: { - forProvider+: { - schedule+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - schedule+: - { - '#': { help: '', name: 'schedule' }, - '#withCustomInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Custom interval of the report.\nNote: This field is only available when frequency is set to custom.\nCustom interval of the report.\n**Note:** This field is only available when frequency is set to `custom`.' } }, - withCustomInterval(value): { - customInterval: value, - }, - '#withEndTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '01-02T15:04:05 format if you want to set a custom timezone\nEnd time of the report. If empty, the report will be sent indefinitely (according to frequency). Note that times will be saved as UTC in Grafana. Use 2006-01-02T15:04:05 format if you want to set a custom timezone' } }, - withEndTime(value): { - endTime: value, - }, - '#withFrequency': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Frequency of the report. Allowed values: never, once, hourly, daily, weekly, monthly, custom.\nFrequency of the report. Allowed values: `never`, `once`, `hourly`, `daily`, `weekly`, `monthly`, `custom`.' } }, - withFrequency(value): { - frequency: value, - }, - '#withLastDayOfMonth': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Send the report on the last day of the month Defaults to false.\nSend the report on the last day of the month Defaults to `false`.' } }, - withLastDayOfMonth(value=true): { - lastDayOfMonth: value, - }, - '#withStartTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '01-02T15:04:05 format if you want to set a custom timezone\nStart time of the report. If empty, the start date will be set to the creation time. Note that times will be saved as UTC in Grafana. Use 2006-01-02T15:04:05 format if you want to set a custom timezone' } }, - withStartTime(value): { - startTime: value, - }, - '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Set the report time zone. Defaults to GMT.\nSet the report time zone. Defaults to `GMT`.' } }, - withTimezone(value): { - timezone: value, - }, - '#withWorkdaysOnly': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to send the report only on work days. Defaults to false.\nWhether to send the report only on work days. Defaults to `false`.' } }, - withWorkdaysOnly(value=true): { - workdaysOnly: value, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withDashboards': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) List of dashboards to render into the report (see below for nested schema)\nList of dashboards to render into the report' } }, - withDashboards(value): { - spec+: { - parameters+: { - initProvider+: { - dashboards: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withDashboardsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) List of dashboards to render into the report (see below for nested schema)\nList of dashboards to render into the report' } }, - withDashboardsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dashboards+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - dashboards+: - { - '#': { help: '', name: 'dashboards' }, - '#withReportVariables': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Add report variables to the dashboard. Values should be separated by commas.\nAdd report variables to the dashboard. Values should be separated by commas.' } }, - withReportVariables(value): { - reportVariables: value, - }, - '#withReportVariablesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Add report variables to the dashboard. Values should be separated by commas.\nAdd report variables to the dashboard. Values should be separated by commas.' } }, - withReportVariablesMixin(value): { - reportVariables+: value, - }, - '#withTimeRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Time range of the report. (see below for nested schema)\nTime range of the report.' } }, - withTimeRange(value): { - timeRange: - (if std.isArray(value) - then value - else [value]), - }, - '#withTimeRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Time range of the report. (see below for nested schema)\nTime range of the report.' } }, - withTimeRangeMixin(value): { - timeRange+: - (if std.isArray(value) - then value - else [value]), - }, - timeRange+: - { - '#': { help: '', name: 'timeRange' }, - '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Start of the time range.\nStart of the time range.' } }, - withFrom(value): { - from: value, - }, - '#withTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) End of the time range.\nEnd of the time range.' } }, - withTo(value): { - to: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Dashboard uid.\nDashboard uid.' } }, - withUid(value): { - uid: value, - }, - }, - '#withFormats': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Specifies what kind of attachment to generate for the report. Allowed values: pdf, csv, image.\nSpecifies what kind of attachment to generate for the report. Allowed values: `pdf`, `csv`, `image`.' } }, - withFormats(value): { - spec+: { - parameters+: { - initProvider+: { - formats: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withFormatsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Specifies what kind of attachment to generate for the report. Allowed values: pdf, csv, image.\nSpecifies what kind of attachment to generate for the report. Allowed values: `pdf`, `csv`, `image`.' } }, - withFormatsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - formats+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withIncludeDashboardLink': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to include a link to the dashboard in the report. Defaults to true.\nWhether to include a link to the dashboard in the report. Defaults to `true`.' } }, - withIncludeDashboardLink(value=true): { - spec+: { - parameters+: { - initProvider+: { - includeDashboardLink: value, - }, - }, - }, - }, - '#withIncludeTableCsv': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to include a CSV file of table panel data. Defaults to false.\nWhether to include a CSV file of table panel data. Defaults to `false`.' } }, - withIncludeTableCsv(value=true): { - spec+: { - parameters+: { - initProvider+: { - includeTableCsv: value, - }, - }, - }, - }, - '#withLayout': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Layout of the report. Allowed values: simple, grid. Defaults to grid.\nLayout of the report. Allowed values: `simple`, `grid`. Defaults to `grid`.' } }, - withLayout(value): { - spec+: { - parameters+: { - initProvider+: { - layout: value, - }, - }, - }, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Message to be sent in the report.\nMessage to be sent in the report.' } }, - withMessage(value): { - spec+: { - parameters+: { - initProvider+: { - message: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the report.\nName of the report.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrientation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Orientation of the report. Allowed values: landscape, portrait. Defaults to landscape.\nOrientation of the report. Allowed values: `landscape`, `portrait`. Defaults to `landscape`.' } }, - withOrientation(value): { - spec+: { - parameters+: { - initProvider+: { - orientation: value, - }, - }, - }, - }, - '#withRecipients': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) List of recipients of the report.\nList of recipients of the report.' } }, - withRecipients(value): { - spec+: { - parameters+: { - initProvider+: { - recipients: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withRecipientsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) List of recipients of the report.\nList of recipients of the report.' } }, - withRecipientsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - recipients+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withReplyTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'to email address of the report.\nReply-to email address of the report.' } }, - withReplyTo(value): { - spec+: { - parameters+: { - initProvider+: { - replyTo: value, - }, - }, - }, - }, - '#withSchedule': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) Schedule of the report. (see below for nested schema)\nSchedule of the report.' } }, - withSchedule(value): { - spec+: { - parameters+: { - initProvider+: { - schedule: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withScheduleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) Schedule of the report. (see below for nested schema)\nSchedule of the report.' } }, - withScheduleMixin(value): { - spec+: { - parameters+: { - initProvider+: { - schedule+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - schedule+: - { - '#': { help: '', name: 'schedule' }, - '#withCustomInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Custom interval of the report.\nNote: This field is only available when frequency is set to custom.\nCustom interval of the report.\n**Note:** This field is only available when frequency is set to `custom`.' } }, - withCustomInterval(value): { - customInterval: value, - }, - '#withEndTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '01-02T15:04:05 format if you want to set a custom timezone\nEnd time of the report. If empty, the report will be sent indefinitely (according to frequency). Note that times will be saved as UTC in Grafana. Use 2006-01-02T15:04:05 format if you want to set a custom timezone' } }, - withEndTime(value): { - endTime: value, - }, - '#withFrequency': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Frequency of the report. Allowed values: never, once, hourly, daily, weekly, monthly, custom.\nFrequency of the report. Allowed values: `never`, `once`, `hourly`, `daily`, `weekly`, `monthly`, `custom`.' } }, - withFrequency(value): { - frequency: value, - }, - '#withLastDayOfMonth': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Send the report on the last day of the month Defaults to false.\nSend the report on the last day of the month Defaults to `false`.' } }, - withLastDayOfMonth(value=true): { - lastDayOfMonth: value, - }, - '#withStartTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '01-02T15:04:05 format if you want to set a custom timezone\nStart time of the report. If empty, the start date will be set to the creation time. Note that times will be saved as UTC in Grafana. Use 2006-01-02T15:04:05 format if you want to set a custom timezone' } }, - withStartTime(value): { - startTime: value, - }, - '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Set the report time zone. Defaults to GMT.\nSet the report time zone. Defaults to `GMT`.' } }, - withTimezone(value): { - timezone: value, - }, - '#withWorkdaysOnly': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to send the report only on work days. Defaults to false.\nWhether to send the report only on work days. Defaults to `false`.' } }, - withWorkdaysOnly(value=true): { - workdaysOnly: value, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - roleAssignment+: - { - '#': { help: '', name: 'roleAssignment' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'enterprise.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'RoleAssignment', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RoleAssignmentSpec defines the desired state of RoleAssignment' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RoleAssignmentSpec defines the desired state of RoleAssignment' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withRoleRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Role in enterprise to populate roleUid.' } }, - withRoleRef(value): { - spec+: { - parameters+: { - forProvider+: { - roleRef: value, - }, - }, - }, - }, - '#withRoleRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Role in enterprise to populate roleUid.' } }, - withRoleRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - roleRef+: value, - }, - }, - }, - }, - roleRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - roleRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - roleRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - roleRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - roleRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - roleRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withRoleSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Role in enterprise to populate roleUid.' } }, - withRoleSelector(value): { - spec+: { - parameters+: { - forProvider+: { - roleSelector: value, - }, - }, - }, - }, - '#withRoleSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Role in enterprise to populate roleUid.' } }, - withRoleSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - roleSelector+: value, - }, - }, - }, - }, - roleSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - roleSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - roleSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - roleSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - roleSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - roleSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - roleSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - roleSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withRoleUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Grafana RBAC role UID.\nGrafana RBAC role UID.' } }, - withRoleUid(value): { - spec+: { - parameters+: { - forProvider+: { - roleUid: value, - }, - }, - }, - }, - '#withServiceAccountRefs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to ServiceAccount in oss to populate serviceAccounts.' } }, - withServiceAccountRefs(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRefs: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withServiceAccountRefsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to ServiceAccount in oss to populate serviceAccounts.' } }, - withServiceAccountRefsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRefs+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - serviceAccountRefs+: - { - '#': { help: '', name: 'serviceAccountRefs' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - name: value, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - policy: value, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - policy+: value, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - policy+: { - resolution: value, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - policy+: { - resolve: value, - }, - }, - }, - }, - '#withServiceAccountSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of ServiceAccount in oss to populate serviceAccounts.' } }, - withServiceAccountSelector(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector: value, - }, - }, - }, - }, - '#withServiceAccountSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of ServiceAccount in oss to populate serviceAccounts.' } }, - withServiceAccountSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: value, - }, - }, - }, - }, - serviceAccountSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withServiceAccounts': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) IDs of service accounts that the role should be assigned to.\nIDs of service accounts that the role should be assigned to.' } }, - withServiceAccounts(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccounts: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withServiceAccountsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) IDs of service accounts that the role should be assigned to.\nIDs of service accounts that the role should be assigned to.' } }, - withServiceAccountsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccounts+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withTeamRefs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to Team in oss to populate teams.' } }, - withTeamRefs(value): { - spec+: { - parameters+: { - forProvider+: { - teamRefs: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withTeamRefsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to Team in oss to populate teams.' } }, - withTeamRefsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - teamRefs+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - teamRefs+: - { - '#': { help: '', name: 'teamRefs' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - name: value, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - policy: value, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - policy+: value, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - policy+: { - resolution: value, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - policy+: { - resolve: value, - }, - }, - }, - }, - '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of Team in oss to populate teams.' } }, - withTeamSelector(value): { - spec+: { - parameters+: { - forProvider+: { - teamSelector: value, - }, - }, - }, - }, - '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of Team in oss to populate teams.' } }, - withTeamSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - teamSelector+: value, - }, - }, - }, - }, - teamSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - teamSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - teamSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - teamSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - teamSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - teamSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - teamSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - teamSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withTeams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) IDs of teams that the role should be assigned to.\nIDs of teams that the role should be assigned to.' } }, - withTeams(value): { - spec+: { - parameters+: { - forProvider+: { - teams: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withTeamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) IDs of teams that the role should be assigned to.\nIDs of teams that the role should be assigned to.' } }, - withTeamsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - teams+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withUserRefs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to User in oss to populate users.' } }, - withUserRefs(value): { - spec+: { - parameters+: { - forProvider+: { - userRefs: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withUserRefsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to User in oss to populate users.' } }, - withUserRefsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - userRefs+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - userRefs+: - { - '#': { help: '', name: 'userRefs' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - name: value, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - policy: value, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - policy+: value, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - policy+: { - resolution: value, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - policy+: { - resolve: value, - }, - }, - }, - }, - '#withUserSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of User in oss to populate users.' } }, - withUserSelector(value): { - spec+: { - parameters+: { - forProvider+: { - userSelector: value, - }, - }, - }, - }, - '#withUserSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of User in oss to populate users.' } }, - withUserSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - userSelector+: value, - }, - }, - }, - }, - userSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - userSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - userSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - userSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - userSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - userSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - userSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - userSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withUsers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) IDs of users that the role should be assigned to.\nIDs of users that the role should be assigned to.' } }, - withUsers(value): { - spec+: { - parameters+: { - forProvider+: { - users: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withUsersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) IDs of users that the role should be assigned to.\nIDs of users that the role should be assigned to.' } }, - withUsersMixin(value): { - spec+: { - parameters+: { - forProvider+: { - users+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withRoleRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Role in enterprise to populate roleUid.' } }, - withRoleRef(value): { - spec+: { - parameters+: { - initProvider+: { - roleRef: value, - }, - }, - }, - }, - '#withRoleRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Role in enterprise to populate roleUid.' } }, - withRoleRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - roleRef+: value, - }, - }, - }, - }, - roleRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - roleRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - roleRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - roleRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - roleRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - roleRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withRoleSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Role in enterprise to populate roleUid.' } }, - withRoleSelector(value): { - spec+: { - parameters+: { - initProvider+: { - roleSelector: value, - }, - }, - }, - }, - '#withRoleSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Role in enterprise to populate roleUid.' } }, - withRoleSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - roleSelector+: value, - }, - }, - }, - }, - roleSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - roleSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - roleSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - roleSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - roleSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - roleSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - roleSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - roleSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withRoleUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Grafana RBAC role UID.\nGrafana RBAC role UID.' } }, - withRoleUid(value): { - spec+: { - parameters+: { - initProvider+: { - roleUid: value, - }, - }, - }, - }, - '#withServiceAccountRefs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to ServiceAccount in oss to populate serviceAccounts.' } }, - withServiceAccountRefs(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRefs: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withServiceAccountRefsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to ServiceAccount in oss to populate serviceAccounts.' } }, - withServiceAccountRefsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRefs+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - serviceAccountRefs+: - { - '#': { help: '', name: 'serviceAccountRefs' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - name: value, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - policy: value, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - policy+: value, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - policy+: { - resolution: value, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - policy+: { - resolve: value, - }, - }, - }, - }, - '#withServiceAccountSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of ServiceAccount in oss to populate serviceAccounts.' } }, - withServiceAccountSelector(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector: value, - }, - }, - }, - }, - '#withServiceAccountSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of ServiceAccount in oss to populate serviceAccounts.' } }, - withServiceAccountSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: value, - }, - }, - }, - }, - serviceAccountSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withServiceAccounts': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) IDs of service accounts that the role should be assigned to.\nIDs of service accounts that the role should be assigned to.' } }, - withServiceAccounts(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccounts: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withServiceAccountsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) IDs of service accounts that the role should be assigned to.\nIDs of service accounts that the role should be assigned to.' } }, - withServiceAccountsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccounts+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withTeamRefs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to Team in oss to populate teams.' } }, - withTeamRefs(value): { - spec+: { - parameters+: { - initProvider+: { - teamRefs: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withTeamRefsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to Team in oss to populate teams.' } }, - withTeamRefsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - teamRefs+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - teamRefs+: - { - '#': { help: '', name: 'teamRefs' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - name: value, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - policy: value, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - policy+: value, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - policy+: { - resolution: value, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - policy+: { - resolve: value, - }, - }, - }, - }, - '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of Team in oss to populate teams.' } }, - withTeamSelector(value): { - spec+: { - parameters+: { - initProvider+: { - teamSelector: value, - }, - }, - }, - }, - '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of Team in oss to populate teams.' } }, - withTeamSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - teamSelector+: value, - }, - }, - }, - }, - teamSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - teamSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - teamSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - teamSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - teamSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - teamSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - teamSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - teamSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withTeams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) IDs of teams that the role should be assigned to.\nIDs of teams that the role should be assigned to.' } }, - withTeams(value): { - spec+: { - parameters+: { - initProvider+: { - teams: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withTeamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) IDs of teams that the role should be assigned to.\nIDs of teams that the role should be assigned to.' } }, - withTeamsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - teams+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withUserRefs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to User in oss to populate users.' } }, - withUserRefs(value): { - spec+: { - parameters+: { - initProvider+: { - userRefs: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withUserRefsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to User in oss to populate users.' } }, - withUserRefsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - userRefs+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - userRefs+: - { - '#': { help: '', name: 'userRefs' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - name: value, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - policy: value, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - policy+: value, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - policy+: { - resolution: value, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - policy+: { - resolve: value, - }, - }, - }, - }, - '#withUserSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of User in oss to populate users.' } }, - withUserSelector(value): { - spec+: { - parameters+: { - initProvider+: { - userSelector: value, - }, - }, - }, - }, - '#withUserSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of User in oss to populate users.' } }, - withUserSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - userSelector+: value, - }, - }, - }, - }, - userSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - userSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - userSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - userSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - userSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - userSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - userSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - userSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withUsers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) IDs of users that the role should be assigned to.\nIDs of users that the role should be assigned to.' } }, - withUsers(value): { - spec+: { - parameters+: { - initProvider+: { - users: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withUsersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) IDs of users that the role should be assigned to.\nIDs of users that the role should be assigned to.' } }, - withUsersMixin(value): { - spec+: { - parameters+: { - initProvider+: { - users+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - role+: - { - '#': { help: '', name: 'role' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'enterprise.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'Role', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RoleSpec defines the desired state of Role' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RoleSpec defines the desired state of Role' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withAutoIncrementVersion': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether the role version should be incremented automatically on updates (and set to 1 on creation). This field or version should be set.\nWhether the role version should be incremented automatically on updates (and set to 1 on creation). This field or `version` should be set.' } }, - withAutoIncrementVersion(value=true): { - spec+: { - parameters+: { - forProvider+: { - autoIncrementVersion: value, - }, - }, - }, - }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Description of the role.\nDescription of the role.' } }, - withDescription(value): { - spec+: { - parameters+: { - forProvider+: { - description: value, - }, - }, - }, - }, - '#withDisplayName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Display name of the role. Available with Grafana 8.5+.\nDisplay name of the role. Available with Grafana 8.5+.' } }, - withDisplayName(value): { - spec+: { - parameters+: { - forProvider+: { - displayName: value, - }, - }, - }, - }, - '#withGlobal': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Boolean to state whether the role is available across all organizations or not. Defaults to false.\nBoolean to state whether the role is available across all organizations or not. Defaults to `false`.' } }, - withGlobal(value=true): { - spec+: { - parameters+: { - forProvider+: { - global: value, - }, - }, - }, - }, - '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Group of the role. Available with Grafana 8.5+.\nGroup of the role. Available with Grafana 8.5+.' } }, - withGroup(value): { - spec+: { - parameters+: { - forProvider+: { - group: value, - }, - }, - }, - }, - '#withHidden': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Boolean to state whether the role should be visible in the Grafana UI or not. Available with Grafana 8.5+. Defaults to false.\nBoolean to state whether the role should be visible in the Grafana UI or not. Available with Grafana 8.5+. Defaults to `false`.' } }, - withHidden(value=true): { - spec+: { - parameters+: { - forProvider+: { - hidden: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the role\nName of the role' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withPermissions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Specific set of actions granted by the role. (see below for nested schema)\nSpecific set of actions granted by the role.' } }, - withPermissions(value): { - spec+: { - parameters+: { - forProvider+: { - permissions: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPermissionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Specific set of actions granted by the role. (see below for nested schema)\nSpecific set of actions granted by the role.' } }, - withPermissionsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - permissions+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - permissions+: - { - '#': { help: '', name: 'permissions' }, - '#withAction': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Specific action users granted with the role will be allowed to perform (for example: users:read)\nSpecific action users granted with the role will be allowed to perform (for example: `users:read`)' } }, - withAction(value): { - action: value, - }, - '#withScope': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Scope to restrict the action to a set of resources (for example: users:* or roles:customrole1) Defaults to “.\nScope to restrict the action to a set of resources (for example: `users:*` or `roles:customrole1`) Defaults to “.' } }, - withScope(value): { - scope: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Unique identifier of the role. Used for assignments.\nUnique identifier of the role. Used for assignments.' } }, - withUid(value): { - spec+: { - parameters+: { - forProvider+: { - uid: value, - }, - }, - }, - }, - '#withVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Version of the role. A role is updated only on version increase. This field or auto_increment_version should be set.\nVersion of the role. A role is updated only on version increase. This field or `auto_increment_version` should be set.' } }, - withVersion(value): { - spec+: { - parameters+: { - forProvider+: { - version: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withAutoIncrementVersion': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether the role version should be incremented automatically on updates (and set to 1 on creation). This field or version should be set.\nWhether the role version should be incremented automatically on updates (and set to 1 on creation). This field or `version` should be set.' } }, - withAutoIncrementVersion(value=true): { - spec+: { - parameters+: { - initProvider+: { - autoIncrementVersion: value, - }, - }, - }, - }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Description of the role.\nDescription of the role.' } }, - withDescription(value): { - spec+: { - parameters+: { - initProvider+: { - description: value, - }, - }, - }, - }, - '#withDisplayName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Display name of the role. Available with Grafana 8.5+.\nDisplay name of the role. Available with Grafana 8.5+.' } }, - withDisplayName(value): { - spec+: { - parameters+: { - initProvider+: { - displayName: value, - }, - }, - }, - }, - '#withGlobal': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Boolean to state whether the role is available across all organizations or not. Defaults to false.\nBoolean to state whether the role is available across all organizations or not. Defaults to `false`.' } }, - withGlobal(value=true): { - spec+: { - parameters+: { - initProvider+: { - global: value, - }, - }, - }, - }, - '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Group of the role. Available with Grafana 8.5+.\nGroup of the role. Available with Grafana 8.5+.' } }, - withGroup(value): { - spec+: { - parameters+: { - initProvider+: { - group: value, - }, - }, - }, - }, - '#withHidden': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Boolean to state whether the role should be visible in the Grafana UI or not. Available with Grafana 8.5+. Defaults to false.\nBoolean to state whether the role should be visible in the Grafana UI or not. Available with Grafana 8.5+. Defaults to `false`.' } }, - withHidden(value=true): { - spec+: { - parameters+: { - initProvider+: { - hidden: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the role\nName of the role' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withPermissions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Specific set of actions granted by the role. (see below for nested schema)\nSpecific set of actions granted by the role.' } }, - withPermissions(value): { - spec+: { - parameters+: { - initProvider+: { - permissions: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPermissionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Specific set of actions granted by the role. (see below for nested schema)\nSpecific set of actions granted by the role.' } }, - withPermissionsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - permissions+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - permissions+: - { - '#': { help: '', name: 'permissions' }, - '#withAction': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Specific action users granted with the role will be allowed to perform (for example: users:read)\nSpecific action users granted with the role will be allowed to perform (for example: `users:read`)' } }, - withAction(value): { - action: value, - }, - '#withScope': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Scope to restrict the action to a set of resources (for example: users:* or roles:customrole1) Defaults to “.\nScope to restrict the action to a set of resources (for example: `users:*` or `roles:customrole1`) Defaults to “.' } }, - withScope(value): { - scope: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Unique identifier of the role. Used for assignments.\nUnique identifier of the role. Used for assignments.' } }, - withUid(value): { - spec+: { - parameters+: { - initProvider+: { - uid: value, - }, - }, - }, - }, - '#withVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Version of the role. A role is updated only on version increase. This field or auto_increment_version should be set.\nVersion of the role. A role is updated only on version increase. This field or `auto_increment_version` should be set.' } }, - withVersion(value): { - spec+: { - parameters+: { - initProvider+: { - version: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - teamExternalGroup+: - { - '#': { help: '', name: 'teamExternalGroup' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'enterprise.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'TeamExternalGroup', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TeamExternalGroupSpec defines the desired state of TeamExternalGroup' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TeamExternalGroupSpec defines the desired state of TeamExternalGroup' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The team external groups list\nThe team external groups list' } }, - withGroups(value): { - spec+: { - parameters+: { - forProvider+: { - groups: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withGroupsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The team external groups list\nThe team external groups list' } }, - withGroupsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - groups+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Team ID\nThe Team ID' } }, - withTeamId(value): { - spec+: { - parameters+: { - forProvider+: { - teamId: value, - }, - }, - }, - }, - '#withTeamRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, - withTeamRef(value): { - spec+: { - parameters+: { - forProvider+: { - teamRef: value, - }, - }, - }, - }, - '#withTeamRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, - withTeamRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - teamRef+: value, - }, - }, - }, - }, - teamRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - teamRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - teamRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - teamRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - teamRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - teamRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, - withTeamSelector(value): { - spec+: { - parameters+: { - forProvider+: { - teamSelector: value, - }, - }, - }, - }, - '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, - withTeamSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - teamSelector+: value, - }, - }, - }, - }, - teamSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - teamSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - teamSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - teamSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - teamSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - teamSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - teamSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - teamSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The team external groups list\nThe team external groups list' } }, - withGroups(value): { - spec+: { - parameters+: { - initProvider+: { - groups: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withGroupsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The team external groups list\nThe team external groups list' } }, - withGroupsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - groups+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Team ID\nThe Team ID' } }, - withTeamId(value): { - spec+: { - parameters+: { - initProvider+: { - teamId: value, - }, - }, - }, - }, - '#withTeamRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, - withTeamRef(value): { - spec+: { - parameters+: { - initProvider+: { - teamRef: value, - }, - }, - }, - }, - '#withTeamRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, - withTeamRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - teamRef+: value, - }, - }, - }, - }, - teamRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - teamRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - teamRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - teamRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - teamRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - teamRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, - withTeamSelector(value): { - spec+: { - parameters+: { - initProvider+: { - teamSelector: value, - }, - }, - }, - }, - '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, - withTeamSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - teamSelector+: value, - }, - }, - }, - }, - teamSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - teamSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - teamSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - teamSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - teamSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - teamSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - teamSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - teamSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - }, - }, - ml+: - { - '#': { help: '', name: 'ml' }, - v1alpha1+: - { - holiday+: - { - '#': { help: '', name: 'holiday' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'ml.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'Holiday', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'HolidaySpec defines the desired state of Holiday' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'HolidaySpec defines the desired state of Holiday' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withCustomPeriods': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A list of custom periods for the holiday.' } }, - withCustomPeriods(value): { - spec+: { - parameters+: { - forProvider+: { - customPeriods: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withCustomPeriodsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A list of custom periods for the holiday.' } }, - withCustomPeriodsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - customPeriods+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - customPeriods+: - { - '#': { help: '', name: 'customPeriods' }, - '#withEndTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withEndTime(value): { - endTime: value, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the custom period.' } }, - withName(value): { - name: value, - }, - '#withStartTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withStartTime(value): { - startTime: value, - }, - }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A description of the holiday.' } }, - withDescription(value): { - spec+: { - parameters+: { - forProvider+: { - description: value, - }, - }, - }, - }, - '#withIcalTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The timezone to use for events in the iCal file pointed to by ical_url.' } }, - withIcalTimezone(value): { - spec+: { - parameters+: { - forProvider+: { - icalTimezone: value, - }, - }, - }, - }, - '#withIcalUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A URL to an iCal file containing all occurrences of the holiday.' } }, - withIcalUrl(value): { - spec+: { - parameters+: { - forProvider+: { - icalUrl: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the holiday.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withCustomPeriods': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A list of custom periods for the holiday.' } }, - withCustomPeriods(value): { - spec+: { - parameters+: { - initProvider+: { - customPeriods: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withCustomPeriodsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A list of custom periods for the holiday.' } }, - withCustomPeriodsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - customPeriods+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - customPeriods+: - { - '#': { help: '', name: 'customPeriods' }, - '#withEndTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withEndTime(value): { - endTime: value, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the custom period.' } }, - withName(value): { - name: value, - }, - '#withStartTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withStartTime(value): { - startTime: value, - }, - }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A description of the holiday.' } }, - withDescription(value): { - spec+: { - parameters+: { - initProvider+: { - description: value, - }, - }, - }, - }, - '#withIcalTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The timezone to use for events in the iCal file pointed to by ical_url.' } }, - withIcalTimezone(value): { - spec+: { - parameters+: { - initProvider+: { - icalTimezone: value, - }, - }, - }, - }, - '#withIcalUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A URL to an iCal file containing all occurrences of the holiday.' } }, - withIcalUrl(value): { - spec+: { - parameters+: { - initProvider+: { - icalUrl: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the holiday.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - job+: - { - '#': { help: '', name: 'job' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'ml.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'Job', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'JobSpec defines the desired state of Job' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'JobSpec defines the desired state of Job' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withCustomLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the custom labels added on the forecast.' } }, - withCustomLabels(value): { - spec+: { - parameters+: { - forProvider+: { - customLabels: value, - }, - }, - }, - }, - '#withCustomLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the custom labels added on the forecast.' } }, - withCustomLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - customLabels+: value, - }, - }, - }, - }, - '#withDataSourceRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate datasourceUid.' } }, - withDataSourceRef(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceRef: value, - }, - }, - }, - }, - '#withDataSourceRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate datasourceUid.' } }, - withDataSourceRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceRef+: value, - }, - }, - }, - }, - dataSourceRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - dataSourceRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDataSourceSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate datasourceUid.' } }, - withDataSourceSelector(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceSelector: value, - }, - }, - }, - }, - '#withDataSourceSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate datasourceUid.' } }, - withDataSourceSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceSelector+: value, - }, - }, - }, - }, - dataSourceSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - dataSourceSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - dataSourceSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDatasourceType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The type of datasource being queried. Currently allowed values are prometheus, graphite, loki, postgres, and datadog.' } }, - withDatasourceType(value): { - spec+: { - parameters+: { - forProvider+: { - datasourceType: value, - }, - }, - }, - }, - '#withDatasourceUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The uid of the datasource to query.' } }, - withDatasourceUid(value): { - spec+: { - parameters+: { - forProvider+: { - datasourceUid: value, - }, - }, - }, - }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A description of the job.' } }, - withDescription(value): { - spec+: { - parameters+: { - forProvider+: { - description: value, - }, - }, - }, - }, - '#withHolidays': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A list of holiday IDs or names to take into account when training the model.' } }, - withHolidays(value): { - spec+: { - parameters+: { - forProvider+: { - holidays: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withHolidaysMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A list of holiday IDs or names to take into account when training the model.' } }, - withHolidaysMixin(value): { - spec+: { - parameters+: { - forProvider+: { - holidays+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withHyperParams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The hyperparameters used to fine tune the algorithm. See https://grafana.com/docs/grafana-cloud/machine-learning/models/ for the full list of available hyperparameters. Defaults to `map[]`.' } }, - withHyperParams(value): { - spec+: { - parameters+: { - forProvider+: { - hyperParams: value, - }, - }, - }, - }, - '#withHyperParamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The hyperparameters used to fine tune the algorithm. See https://grafana.com/docs/grafana-cloud/machine-learning/models/ for the full list of available hyperparameters. Defaults to `map[]`.' } }, - withHyperParamsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - hyperParams+: value, - }, - }, - }, - }, - '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'The data interval in seconds to train the data on. Defaults to `300`.' } }, - withInterval(value): { - spec+: { - parameters+: { - forProvider+: { - interval: value, - }, - }, - }, - }, - '#withMetric': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The metric used to query the job results.' } }, - withMetric(value): { - spec+: { - parameters+: { - forProvider+: { - metric: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the job.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withQueryParams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the query params to query Grafana with.' } }, - withQueryParams(value): { - spec+: { - parameters+: { - forProvider+: { - queryParams: value, - }, - }, - }, - }, - '#withQueryParamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the query params to query Grafana with.' } }, - withQueryParamsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - queryParams+: value, - }, - }, - }, - }, - '#withTrainingWindow': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'The data interval in seconds to train the data on. Defaults to `7776000`.' } }, - withTrainingWindow(value): { - spec+: { - parameters+: { - forProvider+: { - trainingWindow: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withCustomLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the custom labels added on the forecast.' } }, - withCustomLabels(value): { - spec+: { - parameters+: { - initProvider+: { - customLabels: value, - }, - }, - }, - }, - '#withCustomLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the custom labels added on the forecast.' } }, - withCustomLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - customLabels+: value, - }, - }, - }, - }, - '#withDataSourceRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate datasourceUid.' } }, - withDataSourceRef(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceRef: value, - }, - }, - }, - }, - '#withDataSourceRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate datasourceUid.' } }, - withDataSourceRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceRef+: value, - }, - }, - }, - }, - dataSourceRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - dataSourceRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDataSourceSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate datasourceUid.' } }, - withDataSourceSelector(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceSelector: value, - }, - }, - }, - }, - '#withDataSourceSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate datasourceUid.' } }, - withDataSourceSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceSelector+: value, - }, - }, - }, - }, - dataSourceSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - dataSourceSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - dataSourceSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDatasourceType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The type of datasource being queried. Currently allowed values are prometheus, graphite, loki, postgres, and datadog.' } }, - withDatasourceType(value): { - spec+: { - parameters+: { - initProvider+: { - datasourceType: value, - }, - }, - }, - }, - '#withDatasourceUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The uid of the datasource to query.' } }, - withDatasourceUid(value): { - spec+: { - parameters+: { - initProvider+: { - datasourceUid: value, - }, - }, - }, - }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A description of the job.' } }, - withDescription(value): { - spec+: { - parameters+: { - initProvider+: { - description: value, - }, - }, - }, - }, - '#withHolidays': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A list of holiday IDs or names to take into account when training the model.' } }, - withHolidays(value): { - spec+: { - parameters+: { - initProvider+: { - holidays: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withHolidaysMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A list of holiday IDs or names to take into account when training the model.' } }, - withHolidaysMixin(value): { - spec+: { - parameters+: { - initProvider+: { - holidays+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withHyperParams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The hyperparameters used to fine tune the algorithm. See https://grafana.com/docs/grafana-cloud/machine-learning/models/ for the full list of available hyperparameters. Defaults to `map[]`.' } }, - withHyperParams(value): { - spec+: { - parameters+: { - initProvider+: { - hyperParams: value, - }, - }, - }, - }, - '#withHyperParamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The hyperparameters used to fine tune the algorithm. See https://grafana.com/docs/grafana-cloud/machine-learning/models/ for the full list of available hyperparameters. Defaults to `map[]`.' } }, - withHyperParamsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - hyperParams+: value, - }, - }, - }, - }, - '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'The data interval in seconds to train the data on. Defaults to `300`.' } }, - withInterval(value): { - spec+: { - parameters+: { - initProvider+: { - interval: value, - }, - }, - }, - }, - '#withMetric': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The metric used to query the job results.' } }, - withMetric(value): { - spec+: { - parameters+: { - initProvider+: { - metric: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the job.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withQueryParams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the query params to query Grafana with.' } }, - withQueryParams(value): { - spec+: { - parameters+: { - initProvider+: { - queryParams: value, - }, - }, - }, - }, - '#withQueryParamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the query params to query Grafana with.' } }, - withQueryParamsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - queryParams+: value, - }, - }, - }, - }, - '#withTrainingWindow': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'The data interval in seconds to train the data on. Defaults to `7776000`.' } }, - withTrainingWindow(value): { - spec+: { - parameters+: { - initProvider+: { - trainingWindow: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - outlierDetector+: - { - '#': { help: '', name: 'outlierDetector' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'ml.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'OutlierDetector', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'OutlierDetectorSpec defines the desired state of OutlierDetector' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'OutlierDetectorSpec defines the desired state of OutlierDetector' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withAlgorithm': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The algorithm to use and its configuration. See https://grafana.com/docs/grafana-cloud/machine-learning/outlier-detection/ for details.' } }, - withAlgorithm(value): { - spec+: { - parameters+: { - forProvider+: { - algorithm: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withAlgorithmMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The algorithm to use and its configuration. See https://grafana.com/docs/grafana-cloud/machine-learning/outlier-detection/ for details.' } }, - withAlgorithmMixin(value): { - spec+: { - parameters+: { - forProvider+: { - algorithm+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - algorithm+: - { - '#': { help: '', name: 'algorithm' }, - '#withConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'For DBSCAN only, specify the configuration map' } }, - withConfig(value): { - config: - (if std.isArray(value) - then value - else [value]), - }, - '#withConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'For DBSCAN only, specify the configuration map' } }, - withConfigMixin(value): { - config+: - (if std.isArray(value) - then value - else [value]), - }, - config+: - { - '#': { help: '', name: 'config' }, - '#withEpsilon': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Specify the epsilon parameter (positive float)' } }, - withEpsilon(value): { - epsilon: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "The name of the algorithm to use ('mad' or 'dbscan')." } }, - withName(value): { - name: value, - }, - '#withSensitivity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Specify the sensitivity of the detector (in range [0,1]).' } }, - withSensitivity(value): { - sensitivity: value, - }, - }, - '#withDataSourceRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate datasourceUid.' } }, - withDataSourceRef(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceRef: value, - }, - }, - }, - }, - '#withDataSourceRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate datasourceUid.' } }, - withDataSourceRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceRef+: value, - }, - }, - }, - }, - dataSourceRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - dataSourceRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDataSourceSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate datasourceUid.' } }, - withDataSourceSelector(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceSelector: value, - }, - }, - }, - }, - '#withDataSourceSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate datasourceUid.' } }, - withDataSourceSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceSelector+: value, - }, - }, - }, - }, - dataSourceSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - dataSourceSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - dataSourceSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - dataSourceSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDatasourceType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The type of datasource being queried. Currently allowed values are prometheus, graphite, loki, postgres, and datadog.' } }, - withDatasourceType(value): { - spec+: { - parameters+: { - forProvider+: { - datasourceType: value, - }, - }, - }, - }, - '#withDatasourceUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The uid of the datasource to query.' } }, - withDatasourceUid(value): { - spec+: { - parameters+: { - forProvider+: { - datasourceUid: value, - }, - }, - }, - }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A description of the outlier detector.' } }, - withDescription(value): { - spec+: { - parameters+: { - forProvider+: { - description: value, - }, - }, - }, - }, - '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'The data interval in seconds to monitor. Defaults to `300`.' } }, - withInterval(value): { - spec+: { - parameters+: { - forProvider+: { - interval: value, - }, - }, - }, - }, - '#withMetric': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The metric used to query the outlier detector results.' } }, - withMetric(value): { - spec+: { - parameters+: { - forProvider+: { - metric: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the outlier detector.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withQueryParams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the query params to query Grafana with.' } }, - withQueryParams(value): { - spec+: { - parameters+: { - forProvider+: { - queryParams: value, - }, - }, - }, - }, - '#withQueryParamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the query params to query Grafana with.' } }, - withQueryParamsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - queryParams+: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withAlgorithm': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The algorithm to use and its configuration. See https://grafana.com/docs/grafana-cloud/machine-learning/outlier-detection/ for details.' } }, - withAlgorithm(value): { - spec+: { - parameters+: { - initProvider+: { - algorithm: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withAlgorithmMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The algorithm to use and its configuration. See https://grafana.com/docs/grafana-cloud/machine-learning/outlier-detection/ for details.' } }, - withAlgorithmMixin(value): { - spec+: { - parameters+: { - initProvider+: { - algorithm+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - algorithm+: - { - '#': { help: '', name: 'algorithm' }, - '#withConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'For DBSCAN only, specify the configuration map' } }, - withConfig(value): { - config: - (if std.isArray(value) - then value - else [value]), - }, - '#withConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'For DBSCAN only, specify the configuration map' } }, - withConfigMixin(value): { - config+: - (if std.isArray(value) - then value - else [value]), - }, - config+: - { - '#': { help: '', name: 'config' }, - '#withEpsilon': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Specify the epsilon parameter (positive float)' } }, - withEpsilon(value): { - epsilon: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "The name of the algorithm to use ('mad' or 'dbscan')." } }, - withName(value): { - name: value, - }, - '#withSensitivity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Specify the sensitivity of the detector (in range [0,1]).' } }, - withSensitivity(value): { - sensitivity: value, - }, - }, - '#withDataSourceRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate datasourceUid.' } }, - withDataSourceRef(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceRef: value, - }, - }, - }, - }, - '#withDataSourceRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate datasourceUid.' } }, - withDataSourceRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceRef+: value, - }, - }, - }, - }, - dataSourceRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - dataSourceRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDataSourceSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate datasourceUid.' } }, - withDataSourceSelector(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceSelector: value, - }, - }, - }, - }, - '#withDataSourceSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate datasourceUid.' } }, - withDataSourceSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceSelector+: value, - }, - }, - }, - }, - dataSourceSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - dataSourceSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - dataSourceSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - dataSourceSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDatasourceType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The type of datasource being queried. Currently allowed values are prometheus, graphite, loki, postgres, and datadog.' } }, - withDatasourceType(value): { - spec+: { - parameters+: { - initProvider+: { - datasourceType: value, - }, - }, - }, - }, - '#withDatasourceUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The uid of the datasource to query.' } }, - withDatasourceUid(value): { - spec+: { - parameters+: { - initProvider+: { - datasourceUid: value, - }, - }, - }, - }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A description of the outlier detector.' } }, - withDescription(value): { - spec+: { - parameters+: { - initProvider+: { - description: value, - }, - }, - }, - }, - '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'The data interval in seconds to monitor. Defaults to `300`.' } }, - withInterval(value): { - spec+: { - parameters+: { - initProvider+: { - interval: value, - }, - }, - }, - }, - '#withMetric': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The metric used to query the outlier detector results.' } }, - withMetric(value): { - spec+: { - parameters+: { - initProvider+: { - metric: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the outlier detector.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withQueryParams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the query params to query Grafana with.' } }, - withQueryParams(value): { - spec+: { - parameters+: { - initProvider+: { - queryParams: value, - }, - }, - }, - }, - '#withQueryParamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'An object representing the query params to query Grafana with.' } }, - withQueryParamsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - queryParams+: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - }, - }, - oncall+: - { - '#': { help: '', name: 'oncall' }, - v1alpha1+: - { - escalationChain+: - { - '#': { help: '', name: 'escalationChain' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oncall.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'EscalationChain', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'EscalationChainSpec defines the desired state of EscalationChain' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'EscalationChainSpec defines the desired state of EscalationChain' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the escalation chain.\nThe name of the escalation chain.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.\nThe ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.' } }, - withTeamId(value): { - spec+: { - parameters+: { - forProvider+: { - teamId: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the escalation chain.\nThe name of the escalation chain.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.\nThe ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.' } }, - withTeamId(value): { - spec+: { - parameters+: { - initProvider+: { - teamId: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - escalation+: - { - '#': { help: '', name: 'escalation' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oncall.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'Escalation', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'EscalationSpec defines the desired state of Escalation' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'EscalationSpec defines the desired state of Escalation' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withActionToTrigger': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of an Action for trigger_webhook type step.\nThe ID of an Action for trigger_webhook type step.' } }, - withActionToTrigger(value): { - spec+: { - parameters+: { - forProvider+: { - actionToTrigger: value, - }, - }, - }, - }, - '#withActionToTriggerRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a OutgoingWebhook in oncall to populate actionToTrigger.' } }, - withActionToTriggerRef(value): { - spec+: { - parameters+: { - forProvider+: { - actionToTriggerRef: value, - }, - }, - }, - }, - '#withActionToTriggerRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a OutgoingWebhook in oncall to populate actionToTrigger.' } }, - withActionToTriggerRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - actionToTriggerRef+: value, - }, - }, - }, - }, - actionToTriggerRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - actionToTriggerRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - actionToTriggerRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - actionToTriggerRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - actionToTriggerRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - actionToTriggerRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withActionToTriggerSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a OutgoingWebhook in oncall to populate actionToTrigger.' } }, - withActionToTriggerSelector(value): { - spec+: { - parameters+: { - forProvider+: { - actionToTriggerSelector: value, - }, - }, - }, - }, - '#withActionToTriggerSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a OutgoingWebhook in oncall to populate actionToTrigger.' } }, - withActionToTriggerSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - actionToTriggerSelector+: value, - }, - }, - }, - }, - actionToTriggerSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - actionToTriggerSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - actionToTriggerSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - actionToTriggerSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - actionToTriggerSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - actionToTriggerSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - actionToTriggerSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - actionToTriggerSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDuration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The duration of delay for wait type step.\nThe duration of delay for wait type step.' } }, - withDuration(value): { - spec+: { - parameters+: { - forProvider+: { - duration: value, - }, - }, - }, - }, - '#withEscalationChainId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the escalation chain.\nThe ID of the escalation chain.' } }, - withEscalationChainId(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainId: value, - }, - }, - }, - }, - '#withEscalationChainRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainRef(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainRef: value, - }, - }, - }, - }, - '#withEscalationChainRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainRef+: value, - }, - }, - }, - }, - escalationChainRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - escalationChainRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withEscalationChainSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainSelector(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainSelector: value, - }, - }, - }, - }, - '#withEscalationChainSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainSelector+: value, - }, - }, - }, - }, - escalationChainSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - escalationChainSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - escalationChainSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withGroupToNotify': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of a User Group for notify_user_group type step.\nThe ID of a User Group for notify_user_group type step.' } }, - withGroupToNotify(value): { - spec+: { - parameters+: { - forProvider+: { - groupToNotify: value, - }, - }, - }, - }, - '#withImportant': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Will activate "important" personal notification rules. Actual for steps: notify_persons, notify_on_call_from_schedule and notify_user_group,notify_team_members\nWill activate "important" personal notification rules. Actual for steps: notify_persons, notify_on_call_from_schedule and notify_user_group,notify_team_members' } }, - withImportant(value=true): { - spec+: { - parameters+: { - forProvider+: { - important: value, - }, - }, - }, - }, - '#withNotifyIfTimeFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The beginning of the time interval for notify_if_time_from_to type step in UTC (for example 08:00:00Z).\nThe beginning of the time interval for notify_if_time_from_to type step in UTC (for example 08:00:00Z).' } }, - withNotifyIfTimeFrom(value): { - spec+: { - parameters+: { - forProvider+: { - notifyIfTimeFrom: value, - }, - }, - }, - }, - '#withNotifyIfTimeTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The end of the time interval for notify_if_time_from_to type step in UTC (for example 18:00:00Z).\nThe end of the time interval for notify_if_time_from_to type step in UTC (for example 18:00:00Z).' } }, - withNotifyIfTimeTo(value): { - spec+: { - parameters+: { - forProvider+: { - notifyIfTimeTo: value, - }, - }, - }, - }, - '#withNotifyOnCallFromSchedule': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of a Schedule for notify_on_call_from_schedule type step.\nID of a Schedule for notify_on_call_from_schedule type step.' } }, - withNotifyOnCallFromSchedule(value): { - spec+: { - parameters+: { - forProvider+: { - notifyOnCallFromSchedule: value, - }, - }, - }, - }, - '#withNotifyOnCallFromScheduleRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Schedule in oncall to populate notifyOnCallFromSchedule.' } }, - withNotifyOnCallFromScheduleRef(value): { - spec+: { - parameters+: { - forProvider+: { - notifyOnCallFromScheduleRef: value, - }, - }, - }, - }, - '#withNotifyOnCallFromScheduleRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Schedule in oncall to populate notifyOnCallFromSchedule.' } }, - withNotifyOnCallFromScheduleRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - notifyOnCallFromScheduleRef+: value, - }, - }, - }, - }, - notifyOnCallFromScheduleRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - notifyOnCallFromScheduleRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - notifyOnCallFromScheduleRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - notifyOnCallFromScheduleRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - notifyOnCallFromScheduleRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - notifyOnCallFromScheduleRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withNotifyOnCallFromScheduleSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Schedule in oncall to populate notifyOnCallFromSchedule.' } }, - withNotifyOnCallFromScheduleSelector(value): { - spec+: { - parameters+: { - forProvider+: { - notifyOnCallFromScheduleSelector: value, - }, - }, - }, - }, - '#withNotifyOnCallFromScheduleSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Schedule in oncall to populate notifyOnCallFromSchedule.' } }, - withNotifyOnCallFromScheduleSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - notifyOnCallFromScheduleSelector+: value, - }, - }, - }, - }, - notifyOnCallFromScheduleSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - notifyOnCallFromScheduleSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - notifyOnCallFromScheduleSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - notifyOnCallFromScheduleSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - notifyOnCallFromScheduleSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - notifyOnCallFromScheduleSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - notifyOnCallFromScheduleSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - notifyOnCallFromScheduleSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withNotifyToTeamMembers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of a Team for a notify_team_members type step.\nThe ID of a Team for a notify_team_members type step.' } }, - withNotifyToTeamMembers(value): { - spec+: { - parameters+: { - forProvider+: { - notifyToTeamMembers: value, - }, - }, - }, - }, - '#withPersonsToNotify': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) The list of ID's of users for notify_persons type step.\nThe list of ID's of users for notify_persons type step." } }, - withPersonsToNotify(value): { - spec+: { - parameters+: { - forProvider+: { - personsToNotify: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPersonsToNotifyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) The list of ID's of users for notify_persons type step.\nThe list of ID's of users for notify_persons type step." } }, - withPersonsToNotifyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - personsToNotify+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPersonsToNotifyNextEachTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) The list of ID's of users for notify_person_next_each_time type step.\nThe list of ID's of users for notify_person_next_each_time type step." } }, - withPersonsToNotifyNextEachTime(value): { - spec+: { - parameters+: { - forProvider+: { - personsToNotifyNextEachTime: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPersonsToNotifyNextEachTimeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) The list of ID's of users for notify_person_next_each_time type step.\nThe list of ID's of users for notify_person_next_each_time type step." } }, - withPersonsToNotifyNextEachTimeMixin(value): { - spec+: { - parameters+: { - forProvider+: { - personsToNotifyNextEachTime+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPosition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The position of the escalation step (starts from 0).\nThe position of the escalation step (starts from 0).' } }, - withPosition(value): { - spec+: { - parameters+: { - forProvider+: { - position: value, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_webhook, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation, notify_team_members\nThe type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_webhook, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation, notify_team_members' } }, - withType(value): { - spec+: { - parameters+: { - forProvider+: { - type: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withActionToTrigger': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of an Action for trigger_webhook type step.\nThe ID of an Action for trigger_webhook type step.' } }, - withActionToTrigger(value): { - spec+: { - parameters+: { - initProvider+: { - actionToTrigger: value, - }, - }, - }, - }, - '#withActionToTriggerRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a OutgoingWebhook in oncall to populate actionToTrigger.' } }, - withActionToTriggerRef(value): { - spec+: { - parameters+: { - initProvider+: { - actionToTriggerRef: value, - }, - }, - }, - }, - '#withActionToTriggerRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a OutgoingWebhook in oncall to populate actionToTrigger.' } }, - withActionToTriggerRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - actionToTriggerRef+: value, - }, - }, - }, - }, - actionToTriggerRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - actionToTriggerRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - actionToTriggerRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - actionToTriggerRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - actionToTriggerRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - actionToTriggerRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withActionToTriggerSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a OutgoingWebhook in oncall to populate actionToTrigger.' } }, - withActionToTriggerSelector(value): { - spec+: { - parameters+: { - initProvider+: { - actionToTriggerSelector: value, - }, - }, - }, - }, - '#withActionToTriggerSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a OutgoingWebhook in oncall to populate actionToTrigger.' } }, - withActionToTriggerSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - actionToTriggerSelector+: value, - }, - }, - }, - }, - actionToTriggerSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - actionToTriggerSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - actionToTriggerSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - actionToTriggerSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - actionToTriggerSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - actionToTriggerSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - actionToTriggerSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - actionToTriggerSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDuration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The duration of delay for wait type step.\nThe duration of delay for wait type step.' } }, - withDuration(value): { - spec+: { - parameters+: { - initProvider+: { - duration: value, - }, - }, - }, - }, - '#withEscalationChainId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the escalation chain.\nThe ID of the escalation chain.' } }, - withEscalationChainId(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainId: value, - }, - }, - }, - }, - '#withEscalationChainRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainRef(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainRef: value, - }, - }, - }, - }, - '#withEscalationChainRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainRef+: value, - }, - }, - }, - }, - escalationChainRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - escalationChainRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withEscalationChainSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainSelector(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainSelector: value, - }, - }, - }, - }, - '#withEscalationChainSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainSelector+: value, - }, - }, - }, - }, - escalationChainSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - escalationChainSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - escalationChainSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withGroupToNotify': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of a User Group for notify_user_group type step.\nThe ID of a User Group for notify_user_group type step.' } }, - withGroupToNotify(value): { - spec+: { - parameters+: { - initProvider+: { - groupToNotify: value, - }, - }, - }, - }, - '#withImportant': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Will activate "important" personal notification rules. Actual for steps: notify_persons, notify_on_call_from_schedule and notify_user_group,notify_team_members\nWill activate "important" personal notification rules. Actual for steps: notify_persons, notify_on_call_from_schedule and notify_user_group,notify_team_members' } }, - withImportant(value=true): { - spec+: { - parameters+: { - initProvider+: { - important: value, - }, - }, - }, - }, - '#withNotifyIfTimeFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The beginning of the time interval for notify_if_time_from_to type step in UTC (for example 08:00:00Z).\nThe beginning of the time interval for notify_if_time_from_to type step in UTC (for example 08:00:00Z).' } }, - withNotifyIfTimeFrom(value): { - spec+: { - parameters+: { - initProvider+: { - notifyIfTimeFrom: value, - }, - }, - }, - }, - '#withNotifyIfTimeTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The end of the time interval for notify_if_time_from_to type step in UTC (for example 18:00:00Z).\nThe end of the time interval for notify_if_time_from_to type step in UTC (for example 18:00:00Z).' } }, - withNotifyIfTimeTo(value): { - spec+: { - parameters+: { - initProvider+: { - notifyIfTimeTo: value, - }, - }, - }, - }, - '#withNotifyOnCallFromSchedule': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of a Schedule for notify_on_call_from_schedule type step.\nID of a Schedule for notify_on_call_from_schedule type step.' } }, - withNotifyOnCallFromSchedule(value): { - spec+: { - parameters+: { - initProvider+: { - notifyOnCallFromSchedule: value, - }, - }, - }, - }, - '#withNotifyOnCallFromScheduleRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Schedule in oncall to populate notifyOnCallFromSchedule.' } }, - withNotifyOnCallFromScheduleRef(value): { - spec+: { - parameters+: { - initProvider+: { - notifyOnCallFromScheduleRef: value, - }, - }, - }, - }, - '#withNotifyOnCallFromScheduleRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Schedule in oncall to populate notifyOnCallFromSchedule.' } }, - withNotifyOnCallFromScheduleRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - notifyOnCallFromScheduleRef+: value, - }, - }, - }, - }, - notifyOnCallFromScheduleRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - notifyOnCallFromScheduleRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - notifyOnCallFromScheduleRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - notifyOnCallFromScheduleRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - notifyOnCallFromScheduleRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - notifyOnCallFromScheduleRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withNotifyOnCallFromScheduleSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Schedule in oncall to populate notifyOnCallFromSchedule.' } }, - withNotifyOnCallFromScheduleSelector(value): { - spec+: { - parameters+: { - initProvider+: { - notifyOnCallFromScheduleSelector: value, - }, - }, - }, - }, - '#withNotifyOnCallFromScheduleSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Schedule in oncall to populate notifyOnCallFromSchedule.' } }, - withNotifyOnCallFromScheduleSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - notifyOnCallFromScheduleSelector+: value, - }, - }, - }, - }, - notifyOnCallFromScheduleSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - notifyOnCallFromScheduleSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - notifyOnCallFromScheduleSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - notifyOnCallFromScheduleSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - notifyOnCallFromScheduleSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - notifyOnCallFromScheduleSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - notifyOnCallFromScheduleSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - notifyOnCallFromScheduleSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withNotifyToTeamMembers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of a Team for a notify_team_members type step.\nThe ID of a Team for a notify_team_members type step.' } }, - withNotifyToTeamMembers(value): { - spec+: { - parameters+: { - initProvider+: { - notifyToTeamMembers: value, - }, - }, - }, - }, - '#withPersonsToNotify': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) The list of ID's of users for notify_persons type step.\nThe list of ID's of users for notify_persons type step." } }, - withPersonsToNotify(value): { - spec+: { - parameters+: { - initProvider+: { - personsToNotify: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPersonsToNotifyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) The list of ID's of users for notify_persons type step.\nThe list of ID's of users for notify_persons type step." } }, - withPersonsToNotifyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - personsToNotify+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPersonsToNotifyNextEachTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) The list of ID's of users for notify_person_next_each_time type step.\nThe list of ID's of users for notify_person_next_each_time type step." } }, - withPersonsToNotifyNextEachTime(value): { - spec+: { - parameters+: { - initProvider+: { - personsToNotifyNextEachTime: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPersonsToNotifyNextEachTimeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) The list of ID's of users for notify_person_next_each_time type step.\nThe list of ID's of users for notify_person_next_each_time type step." } }, - withPersonsToNotifyNextEachTimeMixin(value): { - spec+: { - parameters+: { - initProvider+: { - personsToNotifyNextEachTime+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPosition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The position of the escalation step (starts from 0).\nThe position of the escalation step (starts from 0).' } }, - withPosition(value): { - spec+: { - parameters+: { - initProvider+: { - position: value, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_webhook, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation, notify_team_members\nThe type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_webhook, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation, notify_team_members' } }, - withType(value): { - spec+: { - parameters+: { - initProvider+: { - type: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - integration+: - { - '#': { help: '', name: 'integration' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oncall.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'Integration', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'IntegrationSpec defines the desired state of Integration' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'IntegrationSpec defines the desired state of Integration' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withDefaultRoute': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) The Default route for all alerts from the given integration (see below for nested schema)\nThe Default route for all alerts from the given integration' } }, - withDefaultRoute(value): { - spec+: { - parameters+: { - forProvider+: { - defaultRoute: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withDefaultRouteMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) The Default route for all alerts from the given integration (see below for nested schema)\nThe Default route for all alerts from the given integration' } }, - withDefaultRouteMixin(value): { - spec+: { - parameters+: { - forProvider+: { - defaultRoute+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - defaultRoute+: - { - '#': { help: '', name: 'defaultRoute' }, - '#withEscalationChainId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the escalation chain.\nThe ID of the escalation chain.' } }, - withEscalationChainId(value): { - escalationChainId: value, - }, - '#withEscalationChainRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainRef(value): { - escalationChainRef: value, - }, - '#withEscalationChainRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainRefMixin(value): { - escalationChainRef+: value, - }, - escalationChainRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - escalationChainRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - escalationChainRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - escalationChainRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - escalationChainRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - escalationChainRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withEscalationChainSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainSelector(value): { - escalationChainSelector: value, - }, - '#withEscalationChainSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainSelectorMixin(value): { - escalationChainSelector+: value, - }, - escalationChainSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - escalationChainSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - escalationChainSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - escalationChainSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - escalationChainSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - escalationChainSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - escalationChainSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - escalationChainSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withMsteams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nMS teams-specific settings for a route.' } }, - withMsteams(value): { - msteams: - (if std.isArray(value) - then value - else [value]), - }, - '#withMsteamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nMS teams-specific settings for a route.' } }, - withMsteamsMixin(value): { - msteams+: - (if std.isArray(value) - then value - else [value]), - }, - msteams+: - { - '#': { help: '', name: 'msteams' }, - '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in MS teams. Defaults to `true`.' } }, - withEnabled(value=true): { - enabled: value, - }, - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of this resource.\nMS teams channel id. Alerts will be directed to this channel in Microsoft teams.' } }, - withId(value): { - id: value, - }, - }, - '#withSlack': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nSlack-specific settings for a route.' } }, - withSlack(value): { - slack: - (if std.isArray(value) - then value - else [value]), - }, - '#withSlackMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nSlack-specific settings for a route.' } }, - withSlackMixin(value): { - slack+: - (if std.isArray(value) - then value - else [value]), - }, - slack+: - { - '#': { help: '', name: 'slack' }, - '#withChannelId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Slack channel id. Alerts will be directed to this channel in Slack.\nSlack channel id. Alerts will be directed to this channel in Slack.' } }, - withChannelId(value): { - channelId: value, - }, - '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in Slack. Defaults to `true`.' } }, - withEnabled(value=true): { - enabled: value, - }, - }, - '#withTelegram': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTelegram-specific settings for a route.' } }, - withTelegram(value): { - telegram: - (if std.isArray(value) - then value - else [value]), - }, - '#withTelegramMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTelegram-specific settings for a route.' } }, - withTelegramMixin(value): { - telegram+: - (if std.isArray(value) - then value - else [value]), - }, - telegram+: - { - '#': { help: '', name: 'telegram' }, - '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in Telegram. Defaults to `true`.' } }, - withEnabled(value=true): { - enabled: value, - }, - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of this resource.\nTelegram channel id. Alerts will be directed to this channel in Telegram.' } }, - withId(value): { - id: value, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the service integration.\nThe name of the service integration.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.\nThe ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.' } }, - withTeamId(value): { - spec+: { - parameters+: { - forProvider+: { - teamId: value, - }, - }, - }, - }, - '#withTemplates': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Jinja2 templates for Alert payload. An empty templates block will be ignored. (see below for nested schema)\nJinja2 templates for Alert payload. An empty templates block will be ignored.' } }, - withTemplates(value): { - spec+: { - parameters+: { - forProvider+: { - templates: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withTemplatesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Jinja2 templates for Alert payload. An empty templates block will be ignored. (see below for nested schema)\nJinja2 templates for Alert payload. An empty templates block will be ignored.' } }, - withTemplatesMixin(value): { - spec+: { - parameters+: { - forProvider+: { - templates+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - templates+: - { - '#': { help: '', name: 'templates' }, - '#withAcknowledgeSignal': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for sending a signal to acknowledge the Incident.\nTemplate for sending a signal to acknowledge the Incident.' } }, - withAcknowledgeSignal(value): { - acknowledgeSignal: value, - }, - '#withEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Email. (see below for nested schema)\nTemplates for Email.' } }, - withEmail(value): { - email: - (if std.isArray(value) - then value - else [value]), - }, - '#withEmailMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Email. (see below for nested schema)\nTemplates for Email.' } }, - withEmailMixin(value): { - email+: - (if std.isArray(value) - then value - else [value]), - }, - email+: - { - '#': { help: '', name: 'email' }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert message.\nTemplate for Alert message.' } }, - withMessage(value): { - message: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, - withTitle(value): { - title: value, - }, - }, - '#withGroupingKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for the key by which alerts are grouped.\nTemplate for the key by which alerts are grouped.' } }, - withGroupingKey(value): { - groupingKey: value, - }, - '#withMicrosoftTeams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Microsoft Teams. (see below for nested schema)\nTemplates for Microsoft Teams.' } }, - withMicrosoftTeams(value): { - microsoftTeams: - (if std.isArray(value) - then value - else [value]), - }, - '#withMicrosoftTeamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Microsoft Teams. (see below for nested schema)\nTemplates for Microsoft Teams.' } }, - withMicrosoftTeamsMixin(value): { - microsoftTeams+: - (if std.isArray(value) - then value - else [value]), - }, - microsoftTeams+: - { - '#': { help: '', name: 'microsoftTeams' }, - '#withImageUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert image url.\nTemplate for Alert image url.' } }, - withImageUrl(value): { - imageUrl: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert message.\nTemplate for Alert message.' } }, - withMessage(value): { - message: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, - withTitle(value): { - title: value, - }, - }, - '#withPhoneCall': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Phone Call. (see below for nested schema)\nTemplates for Phone Call.' } }, - withPhoneCall(value): { - phoneCall: - (if std.isArray(value) - then value - else [value]), - }, - '#withPhoneCallMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Phone Call. (see below for nested schema)\nTemplates for Phone Call.' } }, - withPhoneCallMixin(value): { - phoneCall+: - (if std.isArray(value) - then value - else [value]), - }, - phoneCall+: - { - '#': { help: '', name: 'phoneCall' }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, - withTitle(value): { - title: value, - }, - }, - '#withResolveSignal': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for sending a signal to resolve the Incident.\nTemplate for sending a signal to resolve the Incident.' } }, - withResolveSignal(value): { - resolveSignal: value, - }, - '#withSlack': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTemplates for Slack.' } }, - withSlack(value): { - slack: - (if std.isArray(value) - then value - else [value]), - }, - '#withSlackMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTemplates for Slack.' } }, - withSlackMixin(value): { - slack+: - (if std.isArray(value) - then value - else [value]), - }, - slack+: - { - '#': { help: '', name: 'slack' }, - '#withImageUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert image url.\nTemplate for Alert image url.' } }, - withImageUrl(value): { - imageUrl: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert message.\nTemplate for Alert message.' } }, - withMessage(value): { - message: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, - withTitle(value): { - title: value, - }, - }, - '#withSms': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for SMS. (see below for nested schema)\nTemplates for SMS.' } }, - withSms(value): { - sms: - (if std.isArray(value) - then value - else [value]), - }, - '#withSmsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for SMS. (see below for nested schema)\nTemplates for SMS.' } }, - withSmsMixin(value): { - sms+: - (if std.isArray(value) - then value - else [value]), - }, - sms+: - { - '#': { help: '', name: 'sms' }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, - withTitle(value): { - title: value, - }, - }, - '#withSourceLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for a source link.\nTemplate for a source link.' } }, - withSourceLink(value): { - sourceLink: value, - }, - '#withTelegram': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTemplates for Telegram.' } }, - withTelegram(value): { - telegram: - (if std.isArray(value) - then value - else [value]), - }, - '#withTelegramMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTemplates for Telegram.' } }, - withTelegramMixin(value): { - telegram+: - (if std.isArray(value) - then value - else [value]), - }, - telegram+: - { - '#': { help: '', name: 'telegram' }, - '#withImageUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert image url.\nTemplate for Alert image url.' } }, - withImageUrl(value): { - imageUrl: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert message.\nTemplate for Alert message.' } }, - withMessage(value): { - message: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, - withTitle(value): { - title: value, - }, - }, - '#withWeb': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Web. (see below for nested schema)\nTemplates for Web.' } }, - withWeb(value): { - web: - (if std.isArray(value) - then value - else [value]), - }, - '#withWebMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Web. (see below for nested schema)\nTemplates for Web.' } }, - withWebMixin(value): { - web+: - (if std.isArray(value) - then value - else [value]), - }, - web+: - { - '#': { help: '', name: 'web' }, - '#withImageUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert image url.\nTemplate for Alert image url.' } }, - withImageUrl(value): { - imageUrl: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert message.\nTemplate for Alert message.' } }, - withMessage(value): { - message: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, - withTitle(value): { - title: value, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.\nThe type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.' } }, - withType(value): { - spec+: { - parameters+: { - forProvider+: { - type: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withDefaultRoute': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) The Default route for all alerts from the given integration (see below for nested schema)\nThe Default route for all alerts from the given integration' } }, - withDefaultRoute(value): { - spec+: { - parameters+: { - initProvider+: { - defaultRoute: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withDefaultRouteMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, Max: 1) The Default route for all alerts from the given integration (see below for nested schema)\nThe Default route for all alerts from the given integration' } }, - withDefaultRouteMixin(value): { - spec+: { - parameters+: { - initProvider+: { - defaultRoute+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - defaultRoute+: - { - '#': { help: '', name: 'defaultRoute' }, - '#withEscalationChainId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the escalation chain.\nThe ID of the escalation chain.' } }, - withEscalationChainId(value): { - escalationChainId: value, - }, - '#withEscalationChainRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainRef(value): { - escalationChainRef: value, - }, - '#withEscalationChainRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainRefMixin(value): { - escalationChainRef+: value, - }, - escalationChainRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - escalationChainRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - escalationChainRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - escalationChainRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - escalationChainRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - escalationChainRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withEscalationChainSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainSelector(value): { - escalationChainSelector: value, - }, - '#withEscalationChainSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainSelectorMixin(value): { - escalationChainSelector+: value, - }, - escalationChainSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - escalationChainSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - escalationChainSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - escalationChainSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - escalationChainSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - escalationChainSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - escalationChainSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - escalationChainSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withMsteams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nMS teams-specific settings for a route.' } }, - withMsteams(value): { - msteams: - (if std.isArray(value) - then value - else [value]), - }, - '#withMsteamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nMS teams-specific settings for a route.' } }, - withMsteamsMixin(value): { - msteams+: - (if std.isArray(value) - then value - else [value]), - }, - msteams+: - { - '#': { help: '', name: 'msteams' }, - '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in MS teams. Defaults to `true`.' } }, - withEnabled(value=true): { - enabled: value, - }, - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of this resource.\nMS teams channel id. Alerts will be directed to this channel in Microsoft teams.' } }, - withId(value): { - id: value, - }, - }, - '#withSlack': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nSlack-specific settings for a route.' } }, - withSlack(value): { - slack: - (if std.isArray(value) - then value - else [value]), - }, - '#withSlackMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nSlack-specific settings for a route.' } }, - withSlackMixin(value): { - slack+: - (if std.isArray(value) - then value - else [value]), - }, - slack+: - { - '#': { help: '', name: 'slack' }, - '#withChannelId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Slack channel id. Alerts will be directed to this channel in Slack.\nSlack channel id. Alerts will be directed to this channel in Slack.' } }, - withChannelId(value): { - channelId: value, - }, - '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in Slack. Defaults to `true`.' } }, - withEnabled(value=true): { - enabled: value, - }, - }, - '#withTelegram': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTelegram-specific settings for a route.' } }, - withTelegram(value): { - telegram: - (if std.isArray(value) - then value - else [value]), - }, - '#withTelegramMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTelegram-specific settings for a route.' } }, - withTelegramMixin(value): { - telegram+: - (if std.isArray(value) - then value - else [value]), - }, - telegram+: - { - '#': { help: '', name: 'telegram' }, - '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in Telegram. Defaults to `true`.' } }, - withEnabled(value=true): { - enabled: value, - }, - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of this resource.\nTelegram channel id. Alerts will be directed to this channel in Telegram.' } }, - withId(value): { - id: value, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the service integration.\nThe name of the service integration.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.\nThe ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.' } }, - withTeamId(value): { - spec+: { - parameters+: { - initProvider+: { - teamId: value, - }, - }, - }, - }, - '#withTemplates': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Jinja2 templates for Alert payload. An empty templates block will be ignored. (see below for nested schema)\nJinja2 templates for Alert payload. An empty templates block will be ignored.' } }, - withTemplates(value): { - spec+: { - parameters+: { - initProvider+: { - templates: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withTemplatesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Jinja2 templates for Alert payload. An empty templates block will be ignored. (see below for nested schema)\nJinja2 templates for Alert payload. An empty templates block will be ignored.' } }, - withTemplatesMixin(value): { - spec+: { - parameters+: { - initProvider+: { - templates+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - templates+: - { - '#': { help: '', name: 'templates' }, - '#withAcknowledgeSignal': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for sending a signal to acknowledge the Incident.\nTemplate for sending a signal to acknowledge the Incident.' } }, - withAcknowledgeSignal(value): { - acknowledgeSignal: value, - }, - '#withEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Email. (see below for nested schema)\nTemplates for Email.' } }, - withEmail(value): { - email: - (if std.isArray(value) - then value - else [value]), - }, - '#withEmailMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Email. (see below for nested schema)\nTemplates for Email.' } }, - withEmailMixin(value): { - email+: - (if std.isArray(value) - then value - else [value]), - }, - email+: - { - '#': { help: '', name: 'email' }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert message.\nTemplate for Alert message.' } }, - withMessage(value): { - message: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, - withTitle(value): { - title: value, - }, - }, - '#withGroupingKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for the key by which alerts are grouped.\nTemplate for the key by which alerts are grouped.' } }, - withGroupingKey(value): { - groupingKey: value, - }, - '#withMicrosoftTeams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Microsoft Teams. (see below for nested schema)\nTemplates for Microsoft Teams.' } }, - withMicrosoftTeams(value): { - microsoftTeams: - (if std.isArray(value) - then value - else [value]), - }, - '#withMicrosoftTeamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Microsoft Teams. (see below for nested schema)\nTemplates for Microsoft Teams.' } }, - withMicrosoftTeamsMixin(value): { - microsoftTeams+: - (if std.isArray(value) - then value - else [value]), - }, - microsoftTeams+: - { - '#': { help: '', name: 'microsoftTeams' }, - '#withImageUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert image url.\nTemplate for Alert image url.' } }, - withImageUrl(value): { - imageUrl: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert message.\nTemplate for Alert message.' } }, - withMessage(value): { - message: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, - withTitle(value): { - title: value, - }, - }, - '#withPhoneCall': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Phone Call. (see below for nested schema)\nTemplates for Phone Call.' } }, - withPhoneCall(value): { - phoneCall: - (if std.isArray(value) - then value - else [value]), - }, - '#withPhoneCallMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Phone Call. (see below for nested schema)\nTemplates for Phone Call.' } }, - withPhoneCallMixin(value): { - phoneCall+: - (if std.isArray(value) - then value - else [value]), - }, - phoneCall+: - { - '#': { help: '', name: 'phoneCall' }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, - withTitle(value): { - title: value, - }, - }, - '#withResolveSignal': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for sending a signal to resolve the Incident.\nTemplate for sending a signal to resolve the Incident.' } }, - withResolveSignal(value): { - resolveSignal: value, - }, - '#withSlack': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTemplates for Slack.' } }, - withSlack(value): { - slack: - (if std.isArray(value) - then value - else [value]), - }, - '#withSlackMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTemplates for Slack.' } }, - withSlackMixin(value): { - slack+: - (if std.isArray(value) - then value - else [value]), - }, - slack+: - { - '#': { help: '', name: 'slack' }, - '#withImageUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert image url.\nTemplate for Alert image url.' } }, - withImageUrl(value): { - imageUrl: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert message.\nTemplate for Alert message.' } }, - withMessage(value): { - message: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, - withTitle(value): { - title: value, - }, - }, - '#withSms': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for SMS. (see below for nested schema)\nTemplates for SMS.' } }, - withSms(value): { - sms: - (if std.isArray(value) - then value - else [value]), - }, - '#withSmsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for SMS. (see below for nested schema)\nTemplates for SMS.' } }, - withSmsMixin(value): { - sms+: - (if std.isArray(value) - then value - else [value]), - }, - sms+: - { - '#': { help: '', name: 'sms' }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, - withTitle(value): { - title: value, - }, - }, - '#withSourceLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for a source link.\nTemplate for a source link.' } }, - withSourceLink(value): { - sourceLink: value, - }, - '#withTelegram': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTemplates for Telegram.' } }, - withTelegram(value): { - telegram: - (if std.isArray(value) - then value - else [value]), - }, - '#withTelegramMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTemplates for Telegram.' } }, - withTelegramMixin(value): { - telegram+: - (if std.isArray(value) - then value - else [value]), - }, - telegram+: - { - '#': { help: '', name: 'telegram' }, - '#withImageUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert image url.\nTemplate for Alert image url.' } }, - withImageUrl(value): { - imageUrl: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert message.\nTemplate for Alert message.' } }, - withMessage(value): { - message: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, - withTitle(value): { - title: value, - }, - }, - '#withWeb': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Web. (see below for nested schema)\nTemplates for Web.' } }, - withWeb(value): { - web: - (if std.isArray(value) - then value - else [value]), - }, - '#withWebMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Templates for Web. (see below for nested schema)\nTemplates for Web.' } }, - withWebMixin(value): { - web+: - (if std.isArray(value) - then value - else [value]), - }, - web+: - { - '#': { help: '', name: 'web' }, - '#withImageUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert image url.\nTemplate for Alert image url.' } }, - withImageUrl(value): { - imageUrl: value, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert message.\nTemplate for Alert message.' } }, - withMessage(value): { - message: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Template for Alert title.\nTemplate for Alert title.' } }, - withTitle(value): { - title: value, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.\nThe type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.' } }, - withType(value): { - spec+: { - parameters+: { - initProvider+: { - type: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - onCallShift+: - { - '#': { help: '', name: 'onCallShift' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oncall.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'OnCallShift', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'OnCallShiftSpec defines the desired state of OnCallShift' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'OnCallShiftSpec defines the desired state of OnCallShift' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withByDay': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) This parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU\nThis parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU' } }, - withByDay(value): { - spec+: { - parameters+: { - forProvider+: { - byDay: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withByDayMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) This parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU\nThis parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU' } }, - withByDayMixin(value): { - spec+: { - parameters+: { - forProvider+: { - byDay+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withByMonth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) This parameter takes a list of months. Valid values are 1 to 12\nThis parameter takes a list of months. Valid values are 1 to 12' } }, - withByMonth(value): { - spec+: { - parameters+: { - forProvider+: { - byMonth: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withByMonthMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) This parameter takes a list of months. Valid values are 1 to 12\nThis parameter takes a list of months. Valid values are 1 to 12' } }, - withByMonthMixin(value): { - spec+: { - parameters+: { - forProvider+: { - byMonth+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withByMonthday': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '31 to -1\nThis parameter takes a list of days of the month. Valid values are 1 to 31 or -31 to -1' } }, - withByMonthday(value): { - spec+: { - parameters+: { - forProvider+: { - byMonthday: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withByMonthdayMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '31 to -1\nThis parameter takes a list of days of the month. Valid values are 1 to 31 or -31 to -1' } }, - withByMonthdayMixin(value): { - spec+: { - parameters+: { - forProvider+: { - byMonthday+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withDuration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The duration of the event.\nThe duration of the event.' } }, - withDuration(value): { - spec+: { - parameters+: { - forProvider+: { - duration: value, - }, - }, - }, - }, - '#withFrequency': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The frequency of the event. Can be hourly, daily, weekly, monthly\nThe frequency of the event. Can be hourly, daily, weekly, monthly' } }, - withFrequency(value): { - spec+: { - parameters+: { - forProvider+: { - frequency: value, - }, - }, - }, - }, - '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The positive integer representing at which intervals the recurrence rule repeats.\nThe positive integer representing at which intervals the recurrence rule repeats.' } }, - withInterval(value): { - spec+: { - parameters+: { - forProvider+: { - interval: value, - }, - }, - }, - }, - '#withLevel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The priority level. The higher the value, the higher the priority.\nThe priority level. The higher the value, the higher the priority.' } }, - withLevel(value): { - spec+: { - parameters+: { - forProvider+: { - level: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The shift's name.\nThe shift's name." } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withRollingUsers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'call users (for rolling_users event type)\nThe list of lists with on-call users (for rolling_users event type)' } }, - withRollingUsers(value): { - spec+: { - parameters+: { - forProvider+: { - rollingUsers: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withRollingUsersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'call users (for rolling_users event type)\nThe list of lists with on-call users (for rolling_users event type)' } }, - withRollingUsersMixin(value): { - spec+: { - parameters+: { - forProvider+: { - rollingUsers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "call shift. This parameter takes a date format as yyyy-MM-dd'T'HH:mm:ss (for example \"2020-09-05T08:00:00\")\nThe start time of the on-call shift. This parameter takes a date format as yyyy-MM-dd'T'HH:mm:ss (for example \"2020-09-05T08:00:00\")" } }, - withStart(value): { - spec+: { - parameters+: { - forProvider+: { - start: value, - }, - }, - }, - }, - '#withStartRotationFromUserIndex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'call rotation starts.\nThe index of the list of users in rolling_users, from which on-call rotation starts.' } }, - withStartRotationFromUserIndex(value): { - spec+: { - parameters+: { - forProvider+: { - startRotationFromUserIndex: value, - }, - }, - }, - }, - '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.\nThe ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.' } }, - withTeamId(value): { - spec+: { - parameters+: { - forProvider+: { - teamId: value, - }, - }, - }, - }, - '#withTimeZone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The shift's timezone. Overrides schedule's timezone.\nThe shift's timezone. Overrides schedule's timezone." } }, - withTimeZone(value): { - spec+: { - parameters+: { - forProvider+: { - timeZone: value, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The shift's type. Can be rolling_users, recurrent_event, single_event\nThe shift's type. Can be rolling_users, recurrent_event, single_event" } }, - withType(value): { - spec+: { - parameters+: { - forProvider+: { - type: value, - }, - }, - }, - }, - '#withUsers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'call users (for single_event and recurrent_event event type).\nThe list of on-call users (for single_event and recurrent_event event type).' } }, - withUsers(value): { - spec+: { - parameters+: { - forProvider+: { - users: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withUsersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'call users (for single_event and recurrent_event event type).\nThe list of on-call users (for single_event and recurrent_event event type).' } }, - withUsersMixin(value): { - spec+: { - parameters+: { - forProvider+: { - users+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withWeekStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Start day of the week in iCal format. Can be MO, TU, WE, TH, FR, SA, SU\nStart day of the week in iCal format. Can be MO, TU, WE, TH, FR, SA, SU' } }, - withWeekStart(value): { - spec+: { - parameters+: { - forProvider+: { - weekStart: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withByDay': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) This parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU\nThis parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU' } }, - withByDay(value): { - spec+: { - parameters+: { - initProvider+: { - byDay: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withByDayMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) This parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU\nThis parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU' } }, - withByDayMixin(value): { - spec+: { - parameters+: { - initProvider+: { - byDay+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withByMonth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) This parameter takes a list of months. Valid values are 1 to 12\nThis parameter takes a list of months. Valid values are 1 to 12' } }, - withByMonth(value): { - spec+: { - parameters+: { - initProvider+: { - byMonth: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withByMonthMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) This parameter takes a list of months. Valid values are 1 to 12\nThis parameter takes a list of months. Valid values are 1 to 12' } }, - withByMonthMixin(value): { - spec+: { - parameters+: { - initProvider+: { - byMonth+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withByMonthday': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '31 to -1\nThis parameter takes a list of days of the month. Valid values are 1 to 31 or -31 to -1' } }, - withByMonthday(value): { - spec+: { - parameters+: { - initProvider+: { - byMonthday: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withByMonthdayMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '31 to -1\nThis parameter takes a list of days of the month. Valid values are 1 to 31 or -31 to -1' } }, - withByMonthdayMixin(value): { - spec+: { - parameters+: { - initProvider+: { - byMonthday+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withDuration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The duration of the event.\nThe duration of the event.' } }, - withDuration(value): { - spec+: { - parameters+: { - initProvider+: { - duration: value, - }, - }, - }, - }, - '#withFrequency': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The frequency of the event. Can be hourly, daily, weekly, monthly\nThe frequency of the event. Can be hourly, daily, weekly, monthly' } }, - withFrequency(value): { - spec+: { - parameters+: { - initProvider+: { - frequency: value, - }, - }, - }, - }, - '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The positive integer representing at which intervals the recurrence rule repeats.\nThe positive integer representing at which intervals the recurrence rule repeats.' } }, - withInterval(value): { - spec+: { - parameters+: { - initProvider+: { - interval: value, - }, - }, - }, - }, - '#withLevel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The priority level. The higher the value, the higher the priority.\nThe priority level. The higher the value, the higher the priority.' } }, - withLevel(value): { - spec+: { - parameters+: { - initProvider+: { - level: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The shift's name.\nThe shift's name." } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withRollingUsers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'call users (for rolling_users event type)\nThe list of lists with on-call users (for rolling_users event type)' } }, - withRollingUsers(value): { - spec+: { - parameters+: { - initProvider+: { - rollingUsers: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withRollingUsersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'call users (for rolling_users event type)\nThe list of lists with on-call users (for rolling_users event type)' } }, - withRollingUsersMixin(value): { - spec+: { - parameters+: { - initProvider+: { - rollingUsers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "call shift. This parameter takes a date format as yyyy-MM-dd'T'HH:mm:ss (for example \"2020-09-05T08:00:00\")\nThe start time of the on-call shift. This parameter takes a date format as yyyy-MM-dd'T'HH:mm:ss (for example \"2020-09-05T08:00:00\")" } }, - withStart(value): { - spec+: { - parameters+: { - initProvider+: { - start: value, - }, - }, - }, - }, - '#withStartRotationFromUserIndex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'call rotation starts.\nThe index of the list of users in rolling_users, from which on-call rotation starts.' } }, - withStartRotationFromUserIndex(value): { - spec+: { - parameters+: { - initProvider+: { - startRotationFromUserIndex: value, - }, - }, - }, - }, - '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.\nThe ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.' } }, - withTeamId(value): { - spec+: { - parameters+: { - initProvider+: { - teamId: value, - }, - }, - }, - }, - '#withTimeZone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The shift's timezone. Overrides schedule's timezone.\nThe shift's timezone. Overrides schedule's timezone." } }, - withTimeZone(value): { - spec+: { - parameters+: { - initProvider+: { - timeZone: value, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The shift's type. Can be rolling_users, recurrent_event, single_event\nThe shift's type. Can be rolling_users, recurrent_event, single_event" } }, - withType(value): { - spec+: { - parameters+: { - initProvider+: { - type: value, - }, - }, - }, - }, - '#withUsers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'call users (for single_event and recurrent_event event type).\nThe list of on-call users (for single_event and recurrent_event event type).' } }, - withUsers(value): { - spec+: { - parameters+: { - initProvider+: { - users: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withUsersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'call users (for single_event and recurrent_event event type).\nThe list of on-call users (for single_event and recurrent_event event type).' } }, - withUsersMixin(value): { - spec+: { - parameters+: { - initProvider+: { - users+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withWeekStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Start day of the week in iCal format. Can be MO, TU, WE, TH, FR, SA, SU\nStart day of the week in iCal format. Can be MO, TU, WE, TH, FR, SA, SU' } }, - withWeekStart(value): { - spec+: { - parameters+: { - initProvider+: { - weekStart: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - outgoingWebhook+: - { - '#': { help: '', name: 'outgoingWebhook' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oncall.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'OutgoingWebhook', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'OutgoingWebhookSpec defines the desired state of OutgoingWebhook' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'OutgoingWebhookSpec defines the desired state of OutgoingWebhook' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withAuthorizationHeaderSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The auth data of the webhook. Used in Authorization header instead of user/password auth.\nThe auth data of the webhook. Used in Authorization header instead of user/password auth.' } }, - withAuthorizationHeaderSecretRef(value): { - spec+: { - parameters+: { - forProvider+: { - authorizationHeaderSecretRef: value, - }, - }, - }, - }, - '#withAuthorizationHeaderSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The auth data of the webhook. Used in Authorization header instead of user/password auth.\nThe auth data of the webhook. Used in Authorization header instead of user/password auth.' } }, - withAuthorizationHeaderSecretRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - authorizationHeaderSecretRef+: value, - }, - }, - }, - }, - authorizationHeaderSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - spec+: { - parameters+: { - forProvider+: { - authorizationHeaderSecretRef+: { - key: value, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - authorizationHeaderSecretRef+: { - name: value, - }, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - forProvider+: { - authorizationHeaderSecretRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withData': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The data of the webhook.\nThe data of the webhook.' } }, - withData(value): { - spec+: { - parameters+: { - forProvider+: { - data: value, - }, - }, - }, - }, - '#withForwardWholePayload': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Toggle to send the entire webhook payload instead of using the values in the Data field.\nToggle to send the entire webhook payload instead of using the values in the Data field.' } }, - withForwardWholePayload(value=true): { - spec+: { - parameters+: { - forProvider+: { - forwardWholePayload: value, - }, - }, - }, - }, - '#withHeaders': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Headers to add to the outgoing webhook request.\nHeaders to add to the outgoing webhook request.' } }, - withHeaders(value): { - spec+: { - parameters+: { - forProvider+: { - headers: value, - }, - }, - }, - }, - '#withHttpMethod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The HTTP method used in the request made by the outgoing webhook. Defaults to POST.\nThe HTTP method used in the request made by the outgoing webhook. Defaults to `POST`.' } }, - withHttpMethod(value): { - spec+: { - parameters+: { - forProvider+: { - httpMethod: value, - }, - }, - }, - }, - '#withIntegrationFilter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) Restricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.\nRestricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.' } }, - withIntegrationFilter(value): { - spec+: { - parameters+: { - forProvider+: { - integrationFilter: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withIntegrationFilterMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) Restricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.\nRestricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.' } }, - withIntegrationFilterMixin(value): { - spec+: { - parameters+: { - forProvider+: { - integrationFilter+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withIsWebhookEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Controls whether the outgoing webhook will trigger or is ignored. Defaults to true.\nControls whether the outgoing webhook will trigger or is ignored. Defaults to `true`.' } }, - withIsWebhookEnabled(value=true): { - spec+: { - parameters+: { - forProvider+: { - isWebhookEnabled: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the outgoing webhook.\nThe name of the outgoing webhook.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The auth data of the webhook. Used for Basic authentication\nThe auth data of the webhook. Used for Basic authentication' } }, - withPasswordSecretRef(value): { - spec+: { - parameters+: { - forProvider+: { - passwordSecretRef: value, - }, - }, - }, - }, - '#withPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The auth data of the webhook. Used for Basic authentication\nThe auth data of the webhook. Used for Basic authentication' } }, - withPasswordSecretRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - passwordSecretRef+: value, - }, - }, - }, - }, - passwordSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - spec+: { - parameters+: { - forProvider+: { - passwordSecretRef+: { - key: value, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - passwordSecretRef+: { - name: value, - }, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - forProvider+: { - passwordSecretRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.\nThe ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.' } }, - withTeamId(value): { - spec+: { - parameters+: { - forProvider+: { - teamId: value, - }, - }, - }, - }, - '#withTriggerTemplate': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) A template used to dynamically determine whether the webhook should execute based on the content of the payload.\nA template used to dynamically determine whether the webhook should execute based on the content of the payload.' } }, - withTriggerTemplate(value): { - spec+: { - parameters+: { - forProvider+: { - triggerTemplate: value, - }, - }, - }, - }, - '#withTriggerType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of event that will cause this outgoing webhook to execute. The types of triggers are: escalation, alert group created, acknowledge, resolve, silence, unsilence, unresolve, unacknowledge. Defaults to escalation.\nThe type of event that will cause this outgoing webhook to execute. The types of triggers are: `escalation`, `alert group created`, `acknowledge`, `resolve`, `silence`, `unsilence`, `unresolve`, `unacknowledge`. Defaults to `escalation`.' } }, - withTriggerType(value): { - spec+: { - parameters+: { - forProvider+: { - triggerType: value, - }, - }, - }, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The webhook URL.\nThe webhook URL.' } }, - withUrl(value): { - spec+: { - parameters+: { - forProvider+: { - url: value, - }, - }, - }, - }, - '#withUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Username to use when making the outgoing webhook request.\nUsername to use when making the outgoing webhook request.' } }, - withUser(value): { - spec+: { - parameters+: { - forProvider+: { - user: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withAuthorizationHeaderSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The auth data of the webhook. Used in Authorization header instead of user/password auth.\nThe auth data of the webhook. Used in Authorization header instead of user/password auth.' } }, - withAuthorizationHeaderSecretRef(value): { - spec+: { - parameters+: { - initProvider+: { - authorizationHeaderSecretRef: value, - }, - }, - }, - }, - '#withAuthorizationHeaderSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The auth data of the webhook. Used in Authorization header instead of user/password auth.\nThe auth data of the webhook. Used in Authorization header instead of user/password auth.' } }, - withAuthorizationHeaderSecretRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - authorizationHeaderSecretRef+: value, - }, - }, - }, - }, - authorizationHeaderSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - spec+: { - parameters+: { - initProvider+: { - authorizationHeaderSecretRef+: { - key: value, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - authorizationHeaderSecretRef+: { - name: value, - }, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - initProvider+: { - authorizationHeaderSecretRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withData': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The data of the webhook.\nThe data of the webhook.' } }, - withData(value): { - spec+: { - parameters+: { - initProvider+: { - data: value, - }, - }, - }, - }, - '#withForwardWholePayload': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Toggle to send the entire webhook payload instead of using the values in the Data field.\nToggle to send the entire webhook payload instead of using the values in the Data field.' } }, - withForwardWholePayload(value=true): { - spec+: { - parameters+: { - initProvider+: { - forwardWholePayload: value, - }, - }, - }, - }, - '#withHeaders': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Headers to add to the outgoing webhook request.\nHeaders to add to the outgoing webhook request.' } }, - withHeaders(value): { - spec+: { - parameters+: { - initProvider+: { - headers: value, - }, - }, - }, - }, - '#withHttpMethod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The HTTP method used in the request made by the outgoing webhook. Defaults to POST.\nThe HTTP method used in the request made by the outgoing webhook. Defaults to `POST`.' } }, - withHttpMethod(value): { - spec+: { - parameters+: { - initProvider+: { - httpMethod: value, - }, - }, - }, - }, - '#withIntegrationFilter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) Restricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.\nRestricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.' } }, - withIntegrationFilter(value): { - spec+: { - parameters+: { - initProvider+: { - integrationFilter: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withIntegrationFilterMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(List of String) Restricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.\nRestricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.' } }, - withIntegrationFilterMixin(value): { - spec+: { - parameters+: { - initProvider+: { - integrationFilter+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withIsWebhookEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Controls whether the outgoing webhook will trigger or is ignored. Defaults to true.\nControls whether the outgoing webhook will trigger or is ignored. Defaults to `true`.' } }, - withIsWebhookEnabled(value=true): { - spec+: { - parameters+: { - initProvider+: { - isWebhookEnabled: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the outgoing webhook.\nThe name of the outgoing webhook.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The auth data of the webhook. Used for Basic authentication\nThe auth data of the webhook. Used for Basic authentication' } }, - withPasswordSecretRef(value): { - spec+: { - parameters+: { - initProvider+: { - passwordSecretRef: value, - }, - }, - }, - }, - '#withPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The auth data of the webhook. Used for Basic authentication\nThe auth data of the webhook. Used for Basic authentication' } }, - withPasswordSecretRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - passwordSecretRef+: value, - }, - }, - }, - }, - passwordSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - spec+: { - parameters+: { - initProvider+: { - passwordSecretRef+: { - key: value, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - passwordSecretRef+: { - name: value, - }, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - initProvider+: { - passwordSecretRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.\nThe ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.' } }, - withTeamId(value): { - spec+: { - parameters+: { - initProvider+: { - teamId: value, - }, - }, - }, - }, - '#withTriggerTemplate': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) A template used to dynamically determine whether the webhook should execute based on the content of the payload.\nA template used to dynamically determine whether the webhook should execute based on the content of the payload.' } }, - withTriggerTemplate(value): { - spec+: { - parameters+: { - initProvider+: { - triggerTemplate: value, - }, - }, - }, - }, - '#withTriggerType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of event that will cause this outgoing webhook to execute. The types of triggers are: escalation, alert group created, acknowledge, resolve, silence, unsilence, unresolve, unacknowledge. Defaults to escalation.\nThe type of event that will cause this outgoing webhook to execute. The types of triggers are: `escalation`, `alert group created`, `acknowledge`, `resolve`, `silence`, `unsilence`, `unresolve`, `unacknowledge`. Defaults to `escalation`.' } }, - withTriggerType(value): { - spec+: { - parameters+: { - initProvider+: { - triggerType: value, - }, - }, - }, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The webhook URL.\nThe webhook URL.' } }, - withUrl(value): { - spec+: { - parameters+: { - initProvider+: { - url: value, - }, - }, - }, - }, - '#withUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Username to use when making the outgoing webhook request.\nUsername to use when making the outgoing webhook request.' } }, - withUser(value): { - spec+: { - parameters+: { - initProvider+: { - user: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - route+: - { - '#': { help: '', name: 'route' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oncall.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'Route', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RouteSpec defines the desired state of Route' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RouteSpec defines the desired state of Route' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withEscalationChainId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the escalation chain.\nThe ID of the escalation chain.' } }, - withEscalationChainId(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainId: value, - }, - }, - }, - }, - '#withEscalationChainRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainRef(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainRef: value, - }, - }, - }, - }, - '#withEscalationChainRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainRef+: value, - }, - }, - }, - }, - escalationChainRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - escalationChainRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withEscalationChainSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainSelector(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainSelector: value, - }, - }, - }, - }, - '#withEscalationChainSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainSelector+: value, - }, - }, - }, - }, - escalationChainSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - escalationChainSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - escalationChainSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - escalationChainSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withIntegrationId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the integration.\nThe ID of the integration.' } }, - withIntegrationId(value): { - spec+: { - parameters+: { - forProvider+: { - integrationId: value, - }, - }, - }, - }, - '#withIntegrationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Integration in oncall to populate integrationId.' } }, - withIntegrationRef(value): { - spec+: { - parameters+: { - forProvider+: { - integrationRef: value, - }, - }, - }, - }, - '#withIntegrationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Integration in oncall to populate integrationId.' } }, - withIntegrationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - integrationRef+: value, - }, - }, - }, - }, - integrationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - integrationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - integrationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - integrationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - integrationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - integrationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withIntegrationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Integration in oncall to populate integrationId.' } }, - withIntegrationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - integrationSelector: value, - }, - }, - }, - }, - '#withIntegrationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Integration in oncall to populate integrationId.' } }, - withIntegrationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - integrationSelector+: value, - }, - }, - }, - }, - integrationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - integrationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - integrationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - integrationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - integrationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - integrationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - integrationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - integrationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMsteams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nMS teams-specific settings for a route.' } }, - withMsteams(value): { - spec+: { - parameters+: { - forProvider+: { - msteams: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withMsteamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nMS teams-specific settings for a route.' } }, - withMsteamsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - msteams+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - msteams+: - { - '#': { help: '', name: 'msteams' }, - '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in MS teams. Defaults to `true`.' } }, - withEnabled(value=true): { - enabled: value, - }, - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of this resource.\nMS teams channel id. Alerts will be directed to this channel in Microsoft teams.' } }, - withId(value): { - id: value, - }, - }, - '#withPosition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The position of the route (starts from 0).\nThe position of the route (starts from 0).' } }, - withPosition(value): { - spec+: { - parameters+: { - forProvider+: { - position: value, - }, - }, - }, - }, - '#withRoutingRegex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Python Regex query. Route is chosen for an alert if there is a match inside the alert payload.\nPython Regex query. Route is chosen for an alert if there is a match inside the alert payload.' } }, - withRoutingRegex(value): { - spec+: { - parameters+: { - forProvider+: { - routingRegex: value, - }, - }, - }, - }, - '#withRoutingType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of route. Can be jinja2, regex Defaults to regex.\nThe type of route. Can be jinja2, regex Defaults to `regex`.' } }, - withRoutingType(value): { - spec+: { - parameters+: { - forProvider+: { - routingType: value, - }, - }, - }, - }, - '#withSlack': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nSlack-specific settings for a route.' } }, - withSlack(value): { - spec+: { - parameters+: { - forProvider+: { - slack: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withSlackMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nSlack-specific settings for a route.' } }, - withSlackMixin(value): { - spec+: { - parameters+: { - forProvider+: { - slack+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - slack+: - { - '#': { help: '', name: 'slack' }, - '#withChannelId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Slack channel id. Alerts will be directed to this channel in Slack.\nSlack channel id. Alerts will be directed to this channel in Slack.' } }, - withChannelId(value): { - channelId: value, - }, - '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in Slack. Defaults to `true`.' } }, - withEnabled(value=true): { - enabled: value, - }, - }, - '#withTelegram': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTelegram-specific settings for a route.' } }, - withTelegram(value): { - spec+: { - parameters+: { - forProvider+: { - telegram: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withTelegramMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTelegram-specific settings for a route.' } }, - withTelegramMixin(value): { - spec+: { - parameters+: { - forProvider+: { - telegram+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - telegram+: - { - '#': { help: '', name: 'telegram' }, - '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in Telegram. Defaults to `true`.' } }, - withEnabled(value=true): { - enabled: value, - }, - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of this resource.\nTelegram channel id. Alerts will be directed to this channel in Telegram.' } }, - withId(value): { - id: value, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withEscalationChainId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the escalation chain.\nThe ID of the escalation chain.' } }, - withEscalationChainId(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainId: value, - }, - }, - }, - }, - '#withEscalationChainRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainRef(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainRef: value, - }, - }, - }, - }, - '#withEscalationChainRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainRef+: value, - }, - }, - }, - }, - escalationChainRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - escalationChainRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withEscalationChainSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainSelector(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainSelector: value, - }, - }, - }, - }, - '#withEscalationChainSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a EscalationChain in oncall to populate escalationChainId.' } }, - withEscalationChainSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainSelector+: value, - }, - }, - }, - }, - escalationChainSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - escalationChainSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - escalationChainSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - escalationChainSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withIntegrationId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the integration.\nThe ID of the integration.' } }, - withIntegrationId(value): { - spec+: { - parameters+: { - initProvider+: { - integrationId: value, - }, - }, - }, - }, - '#withIntegrationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Integration in oncall to populate integrationId.' } }, - withIntegrationRef(value): { - spec+: { - parameters+: { - initProvider+: { - integrationRef: value, - }, - }, - }, - }, - '#withIntegrationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Integration in oncall to populate integrationId.' } }, - withIntegrationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - integrationRef+: value, - }, - }, - }, - }, - integrationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - integrationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - integrationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - integrationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - integrationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - integrationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withIntegrationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Integration in oncall to populate integrationId.' } }, - withIntegrationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - integrationSelector: value, - }, - }, - }, - }, - '#withIntegrationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Integration in oncall to populate integrationId.' } }, - withIntegrationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - integrationSelector+: value, - }, - }, - }, - }, - integrationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - integrationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - integrationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - integrationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - integrationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - integrationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - integrationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - integrationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMsteams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nMS teams-specific settings for a route.' } }, - withMsteams(value): { - spec+: { - parameters+: { - initProvider+: { - msteams: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withMsteamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nMS teams-specific settings for a route.' } }, - withMsteamsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - msteams+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - msteams+: - { - '#': { help: '', name: 'msteams' }, - '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in MS teams. Defaults to `true`.' } }, - withEnabled(value=true): { - enabled: value, - }, - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of this resource.\nMS teams channel id. Alerts will be directed to this channel in Microsoft teams.' } }, - withId(value): { - id: value, - }, - }, - '#withPosition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The position of the route (starts from 0).\nThe position of the route (starts from 0).' } }, - withPosition(value): { - spec+: { - parameters+: { - initProvider+: { - position: value, - }, - }, - }, - }, - '#withRoutingRegex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Python Regex query. Route is chosen for an alert if there is a match inside the alert payload.\nPython Regex query. Route is chosen for an alert if there is a match inside the alert payload.' } }, - withRoutingRegex(value): { - spec+: { - parameters+: { - initProvider+: { - routingRegex: value, - }, - }, - }, - }, - '#withRoutingType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of route. Can be jinja2, regex Defaults to regex.\nThe type of route. Can be jinja2, regex Defaults to `regex`.' } }, - withRoutingType(value): { - spec+: { - parameters+: { - initProvider+: { - routingType: value, - }, - }, - }, - }, - '#withSlack': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nSlack-specific settings for a route.' } }, - withSlack(value): { - spec+: { - parameters+: { - initProvider+: { - slack: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withSlackMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nSlack-specific settings for a route.' } }, - withSlackMixin(value): { - spec+: { - parameters+: { - initProvider+: { - slack+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - slack+: - { - '#': { help: '', name: 'slack' }, - '#withChannelId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Slack channel id. Alerts will be directed to this channel in Slack.\nSlack channel id. Alerts will be directed to this channel in Slack.' } }, - withChannelId(value): { - channelId: value, - }, - '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in Slack. Defaults to `true`.' } }, - withEnabled(value=true): { - enabled: value, - }, - }, - '#withTelegram': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTelegram-specific settings for a route.' } }, - withTelegram(value): { - spec+: { - parameters+: { - initProvider+: { - telegram: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withTelegramMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a route. (see below for nested schema)\nTelegram-specific settings for a route.' } }, - withTelegramMixin(value): { - spec+: { - parameters+: { - initProvider+: { - telegram+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - telegram+: - { - '#': { help: '', name: 'telegram' }, - '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable notification in MS teams. Defaults to true.\nEnable notification in Telegram. Defaults to `true`.' } }, - withEnabled(value=true): { - enabled: value, - }, - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of this resource.\nTelegram channel id. Alerts will be directed to this channel in Telegram.' } }, - withId(value): { - id: value, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - schedule+: - { - '#': { help: '', name: 'schedule' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oncall.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'Schedule', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ScheduleSpec defines the desired state of Schedule' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ScheduleSpec defines the desired state of Schedule' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withEnableWebOverrides': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable overrides via web UI (it will ignore ical_url_overrides).\nEnable overrides via web UI (it will ignore ical_url_overrides).' } }, - withEnableWebOverrides(value=true): { - spec+: { - parameters+: { - forProvider+: { - enableWebOverrides: value, - }, - }, - }, - }, - '#withIcalUrlOverrides': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of external iCal calendar which override primary events.\nThe URL of external iCal calendar which override primary events.' } }, - withIcalUrlOverrides(value): { - spec+: { - parameters+: { - forProvider+: { - icalUrlOverrides: value, - }, - }, - }, - }, - '#withIcalUrlPrimary': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the external calendar iCal file.\nThe URL of the external calendar iCal file.' } }, - withIcalUrlPrimary(value): { - spec+: { - parameters+: { - forProvider+: { - icalUrlPrimary: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The schedule's name.\nThe schedule's name." } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withShifts': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "call shifts.\nThe list of ID's of on-call shifts." } }, - withShifts(value): { - spec+: { - parameters+: { - forProvider+: { - shifts: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withShiftsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "call shifts.\nThe list of ID's of on-call shifts." } }, - withShiftsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - shifts+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withShiftsRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to OnCallShift in oncall to populate shifts.' } }, - withShiftsRef(value): { - spec+: { - parameters+: { - forProvider+: { - shiftsRef: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withShiftsRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to OnCallShift in oncall to populate shifts.' } }, - withShiftsRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - shiftsRef+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - shiftsRef+: - { - '#': { help: '', name: 'shiftsRef' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - name: value, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - policy: value, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - policy+: value, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - policy+: { - resolution: value, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - policy+: { - resolve: value, - }, - }, - }, - }, - '#withShiftsSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of OnCallShift in oncall to populate shifts.' } }, - withShiftsSelector(value): { - spec+: { - parameters+: { - forProvider+: { - shiftsSelector: value, - }, - }, - }, - }, - '#withShiftsSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of OnCallShift in oncall to populate shifts.' } }, - withShiftsSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - shiftsSelector+: value, - }, - }, - }, - }, - shiftsSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - shiftsSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - shiftsSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - shiftsSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - shiftsSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - shiftsSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - shiftsSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - shiftsSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withSlack': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a schedule. (see below for nested schema)\nThe Slack-specific settings for a schedule.' } }, - withSlack(value): { - spec+: { - parameters+: { - forProvider+: { - slack: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withSlackMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a schedule. (see below for nested schema)\nThe Slack-specific settings for a schedule.' } }, - withSlackMixin(value): { - spec+: { - parameters+: { - forProvider+: { - slack+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - slack+: - { - '#': { help: '', name: 'slack' }, - '#withChannelId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Slack channel id. Reminder about schedule shifts will be directed to this channel in Slack.\nSlack channel id. Reminder about schedule shifts will be directed to this channel in Slack.' } }, - withChannelId(value): { - channelId: value, - }, - '#withUserGroupId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'call users change.\nSlack user group id. Members of user group will be updated when on-call users change.' } }, - withUserGroupId(value): { - userGroupId: value, - }, - }, - '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.\nThe ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.' } }, - withTeamId(value): { - spec+: { - parameters+: { - forProvider+: { - teamId: value, - }, - }, - }, - }, - '#withTimeZone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The schedule's time zone.\nThe schedule's time zone." } }, - withTimeZone(value): { - spec+: { - parameters+: { - forProvider+: { - timeZone: value, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The schedule's type. Valid values are ical, calendar.\nThe schedule's type. Valid values are `ical`, `calendar`." } }, - withType(value): { - spec+: { - parameters+: { - forProvider+: { - type: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withEnableWebOverrides': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Enable overrides via web UI (it will ignore ical_url_overrides).\nEnable overrides via web UI (it will ignore ical_url_overrides).' } }, - withEnableWebOverrides(value=true): { - spec+: { - parameters+: { - initProvider+: { - enableWebOverrides: value, - }, - }, - }, - }, - '#withIcalUrlOverrides': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of external iCal calendar which override primary events.\nThe URL of external iCal calendar which override primary events.' } }, - withIcalUrlOverrides(value): { - spec+: { - parameters+: { - initProvider+: { - icalUrlOverrides: value, - }, - }, - }, - }, - '#withIcalUrlPrimary': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL of the external calendar iCal file.\nThe URL of the external calendar iCal file.' } }, - withIcalUrlPrimary(value): { - spec+: { - parameters+: { - initProvider+: { - icalUrlPrimary: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The schedule's name.\nThe schedule's name." } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withShifts': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "call shifts.\nThe list of ID's of on-call shifts." } }, - withShifts(value): { - spec+: { - parameters+: { - initProvider+: { - shifts: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withShiftsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "call shifts.\nThe list of ID's of on-call shifts." } }, - withShiftsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - shifts+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withShiftsRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to OnCallShift in oncall to populate shifts.' } }, - withShiftsRef(value): { - spec+: { - parameters+: { - initProvider+: { - shiftsRef: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withShiftsRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to OnCallShift in oncall to populate shifts.' } }, - withShiftsRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - shiftsRef+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - shiftsRef+: - { - '#': { help: '', name: 'shiftsRef' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - name: value, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - policy: value, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - policy+: value, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - policy+: { - resolution: value, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - policy+: { - resolve: value, - }, - }, - }, - }, - '#withShiftsSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of OnCallShift in oncall to populate shifts.' } }, - withShiftsSelector(value): { - spec+: { - parameters+: { - initProvider+: { - shiftsSelector: value, - }, - }, - }, - }, - '#withShiftsSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of OnCallShift in oncall to populate shifts.' } }, - withShiftsSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - shiftsSelector+: value, - }, - }, - }, - }, - shiftsSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - shiftsSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - shiftsSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - shiftsSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - shiftsSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - shiftsSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - shiftsSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - shiftsSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withSlack': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a schedule. (see below for nested schema)\nThe Slack-specific settings for a schedule.' } }, - withSlack(value): { - spec+: { - parameters+: { - initProvider+: { - slack: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withSlackMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'specific settings for a schedule. (see below for nested schema)\nThe Slack-specific settings for a schedule.' } }, - withSlackMixin(value): { - spec+: { - parameters+: { - initProvider+: { - slack+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - slack+: - { - '#': { help: '', name: 'slack' }, - '#withChannelId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Slack channel id. Reminder about schedule shifts will be directed to this channel in Slack.\nSlack channel id. Reminder about schedule shifts will be directed to this channel in Slack.' } }, - withChannelId(value): { - channelId: value, - }, - '#withUserGroupId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'call users change.\nSlack user group id. Members of user group will be updated when on-call users change.' } }, - withUserGroupId(value): { - userGroupId: value, - }, - }, - '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the grafana_oncall_team datasource.\nThe ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.' } }, - withTeamId(value): { - spec+: { - parameters+: { - initProvider+: { - teamId: value, - }, - }, - }, - }, - '#withTimeZone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The schedule's time zone.\nThe schedule's time zone." } }, - withTimeZone(value): { - spec+: { - parameters+: { - initProvider+: { - timeZone: value, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The schedule's type. Valid values are ical, calendar.\nThe schedule's type. Valid values are `ical`, `calendar`." } }, - withType(value): { - spec+: { - parameters+: { - initProvider+: { - type: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - userNotificationRule+: - { - '#': { help: '', name: 'userNotificationRule' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oncall.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'UserNotificationRule', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'UserNotificationRuleSpec defines the desired state of UserNotificationRule' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'UserNotificationRuleSpec defines the desired state of UserNotificationRule' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withDuration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) A time in seconds to wait (when type=wait). Can be 60, 300, 900, 1800, 3600\nA time in seconds to wait (when `type=wait`). Can be 60, 300, 900, 1800, 3600' } }, - withDuration(value): { - spec+: { - parameters+: { - forProvider+: { - duration: value, - }, - }, - }, - }, - '#withImportant': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Boolean value which indicates if a rule is “important”\nBoolean value which indicates if a rule is “important”' } }, - withImportant(value=true): { - spec+: { - parameters+: { - forProvider+: { - important: value, - }, - }, - }, - }, - '#withPosition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Personal notification rules execute one after another starting from position=0. A new escalation policy created with a position of an existing escalation policy will move the old one (and all following) down on the list.\nPersonal notification rules execute one after another starting from position=0. A new escalation policy created with a position of an existing escalation policy will move the old one (and all following) down on the list.' } }, - withPosition(value): { - spec+: { - parameters+: { - forProvider+: { - position: value, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of notification rule. Can be wait, notify_by_slack, notify_by_msteams, notify_by_sms, notify_by_phone_call, notify_by_telegram, notify_by_email, notify_by_mobile_app, notify_by_mobile_app_critical. NOTE: notify_by_msteams is only available for Grafana Cloud customers.\nThe type of notification rule. Can be wait, notify_by_slack, notify_by_msteams, notify_by_sms, notify_by_phone_call, notify_by_telegram, notify_by_email, notify_by_mobile_app, notify_by_mobile_app_critical. NOTE: `notify_by_msteams` is only available for Grafana Cloud customers.' } }, - withType(value): { - spec+: { - parameters+: { - forProvider+: { - type: value, - }, - }, - }, - }, - '#withUserId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) User ID\nUser ID' } }, - withUserId(value): { - spec+: { - parameters+: { - forProvider+: { - userId: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withDuration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) A time in seconds to wait (when type=wait). Can be 60, 300, 900, 1800, 3600\nA time in seconds to wait (when `type=wait`). Can be 60, 300, 900, 1800, 3600' } }, - withDuration(value): { - spec+: { - parameters+: { - initProvider+: { - duration: value, - }, - }, - }, - }, - '#withImportant': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Boolean value which indicates if a rule is “important”\nBoolean value which indicates if a rule is “important”' } }, - withImportant(value=true): { - spec+: { - parameters+: { - initProvider+: { - important: value, - }, - }, - }, - }, - '#withPosition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Personal notification rules execute one after another starting from position=0. A new escalation policy created with a position of an existing escalation policy will move the old one (and all following) down on the list.\nPersonal notification rules execute one after another starting from position=0. A new escalation policy created with a position of an existing escalation policy will move the old one (and all following) down on the list.' } }, - withPosition(value): { - spec+: { - parameters+: { - initProvider+: { - position: value, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of notification rule. Can be wait, notify_by_slack, notify_by_msteams, notify_by_sms, notify_by_phone_call, notify_by_telegram, notify_by_email, notify_by_mobile_app, notify_by_mobile_app_critical. NOTE: notify_by_msteams is only available for Grafana Cloud customers.\nThe type of notification rule. Can be wait, notify_by_slack, notify_by_msteams, notify_by_sms, notify_by_phone_call, notify_by_telegram, notify_by_email, notify_by_mobile_app, notify_by_mobile_app_critical. NOTE: `notify_by_msteams` is only available for Grafana Cloud customers.' } }, - withType(value): { - spec+: { - parameters+: { - initProvider+: { - type: value, - }, - }, - }, - }, - '#withUserId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) User ID\nUser ID' } }, - withUserId(value): { - spec+: { - parameters+: { - initProvider+: { - userId: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - }, - }, - oss+: - { - '#': { help: '', name: 'oss' }, - v1alpha1+: - { - annotation+: - { - '#': { help: '', name: 'annotation' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'Annotation', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'AnnotationSpec defines the desired state of Annotation' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'AnnotationSpec defines the desired state of Annotation' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withDashboardRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, - withDashboardRef(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardRef: value, - }, - }, - }, - }, - '#withDashboardRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, - withDashboardRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardRef+: value, - }, - }, - }, - }, - dashboardRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - dashboardRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDashboardSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, - withDashboardSelector(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector: value, - }, - }, - }, - }, - '#withDashboardSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, - withDashboardSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: value, - }, - }, - }, - }, - dashboardSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDashboardUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The UID of the dashboard on which to create the annotation.\nThe UID of the dashboard on which to create the annotation.' } }, - withDashboardUid(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardUid: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withPanelId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The ID of the dashboard panel on which to create the annotation.\nThe ID of the dashboard panel on which to create the annotation.' } }, - withPanelId(value): { - spec+: { - parameters+: { - forProvider+: { - panelId: value, - }, - }, - }, - }, - '#withTags': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The tags to associate with the annotation.\nThe tags to associate with the annotation.' } }, - withTags(value): { - spec+: { - parameters+: { - forProvider+: { - tags: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withTagsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The tags to associate with the annotation.\nThe tags to associate with the annotation.' } }, - withTagsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - tags+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The text to associate with the annotation.\nThe text to associate with the annotation.' } }, - withText(value): { - spec+: { - parameters+: { - forProvider+: { - text: value, - }, - }, - }, - }, - '#withTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "formatted time string indicating the annotation's time.\nThe RFC 3339-formatted time string indicating the annotation's time." } }, - withTime(value): { - spec+: { - parameters+: { - forProvider+: { - time: value, - }, - }, - }, - }, - '#withTimeEnd': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "formatted time string indicating the annotation's end time.\nThe RFC 3339-formatted time string indicating the annotation's end time." } }, - withTimeEnd(value): { - spec+: { - parameters+: { - forProvider+: { - timeEnd: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withDashboardRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, - withDashboardRef(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardRef: value, - }, - }, - }, - }, - '#withDashboardRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, - withDashboardRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardRef+: value, - }, - }, - }, - }, - dashboardRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - dashboardRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDashboardSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, - withDashboardSelector(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector: value, - }, - }, - }, - }, - '#withDashboardSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, - withDashboardSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: value, - }, - }, - }, - }, - dashboardSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDashboardUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The UID of the dashboard on which to create the annotation.\nThe UID of the dashboard on which to create the annotation.' } }, - withDashboardUid(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardUid: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withPanelId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The ID of the dashboard panel on which to create the annotation.\nThe ID of the dashboard panel on which to create the annotation.' } }, - withPanelId(value): { - spec+: { - parameters+: { - initProvider+: { - panelId: value, - }, - }, - }, - }, - '#withTags': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The tags to associate with the annotation.\nThe tags to associate with the annotation.' } }, - withTags(value): { - spec+: { - parameters+: { - initProvider+: { - tags: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withTagsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The tags to associate with the annotation.\nThe tags to associate with the annotation.' } }, - withTagsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - tags+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The text to associate with the annotation.\nThe text to associate with the annotation.' } }, - withText(value): { - spec+: { - parameters+: { - initProvider+: { - text: value, - }, - }, - }, - }, - '#withTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "formatted time string indicating the annotation's time.\nThe RFC 3339-formatted time string indicating the annotation's time." } }, - withTime(value): { - spec+: { - parameters+: { - initProvider+: { - time: value, - }, - }, - }, - }, - '#withTimeEnd': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "formatted time string indicating the annotation's end time.\nThe RFC 3339-formatted time string indicating the annotation's end time." } }, - withTimeEnd(value): { - spec+: { - parameters+: { - initProvider+: { - timeEnd: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - dashboardPermission+: - { - '#': { help: '', name: 'dashboardPermission' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'DashboardPermission', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'DashboardPermissionSpec defines the desired state of DashboardPermission' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'DashboardPermissionSpec defines the desired state of DashboardPermission' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withDashboardRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, - withDashboardRef(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardRef: value, - }, - }, - }, - }, - '#withDashboardRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, - withDashboardRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardRef+: value, - }, - }, - }, - }, - dashboardRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - dashboardRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDashboardSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, - withDashboardSelector(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector: value, - }, - }, - }, - }, - '#withDashboardSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, - withDashboardSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: value, - }, - }, - }, - }, - dashboardSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDashboardUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) UID of the dashboard to apply permissions to.\nUID of the dashboard to apply permissions to.' } }, - withDashboardUid(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardUid: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withPermissions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, - withPermissions(value): { - spec+: { - parameters+: { - forProvider+: { - permissions: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPermissionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, - withPermissionsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - permissions+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - permissions+: - { - '#': { help: '', name: 'permissions' }, - '#withPermission': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Permission to associate with item. Must be one of View, Edit, or Admin.\nPermission to associate with item. Must be one of `View`, `Edit`, or `Admin`.' } }, - withPermission(value): { - permission: value, - }, - '#withRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`.' } }, - withRole(value): { - role: value, - }, - '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the team to manage permissions for. Defaults to 0.\nID of the team to manage permissions for. Defaults to `0`.' } }, - withTeamId(value): { - teamId: value, - }, - '#withTeamRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, - withTeamRef(value): { - teamRef: value, - }, - '#withTeamRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, - withTeamRefMixin(value): { - teamRef+: value, - }, - teamRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - teamRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - teamRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - teamRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - teamRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - teamRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, - withTeamSelector(value): { - teamSelector: value, - }, - '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, - withTeamSelectorMixin(value): { - teamSelector+: value, - }, - teamSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - teamSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - teamSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - teamSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - teamSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - teamSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - teamSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - teamSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withUserId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the user or service account to manage permissions for. Defaults to 0.\nID of the user or service account to manage permissions for. Defaults to `0`.' } }, - withUserId(value): { - userId: value, - }, - '#withUserRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, - withUserRef(value): { - userRef: value, - }, - '#withUserRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, - withUserRefMixin(value): { - userRef+: value, - }, - userRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - userRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - userRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - userRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - userRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - userRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withUserSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, - withUserSelector(value): { - userSelector: value, - }, - '#withUserSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, - withUserSelectorMixin(value): { - userSelector+: value, - }, - userSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - userSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - userSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - userSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - userSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - userSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - userSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - userSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withDashboardRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, - withDashboardRef(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardRef: value, - }, - }, - }, - }, - '#withDashboardRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, - withDashboardRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardRef+: value, - }, - }, - }, - }, - dashboardRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - dashboardRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDashboardSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, - withDashboardSelector(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector: value, - }, - }, - }, - }, - '#withDashboardSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, - withDashboardSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: value, - }, - }, - }, - }, - dashboardSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDashboardUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) UID of the dashboard to apply permissions to.\nUID of the dashboard to apply permissions to.' } }, - withDashboardUid(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardUid: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withPermissions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, - withPermissions(value): { - spec+: { - parameters+: { - initProvider+: { - permissions: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPermissionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, - withPermissionsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - permissions+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - permissions+: - { - '#': { help: '', name: 'permissions' }, - '#withPermission': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Permission to associate with item. Must be one of View, Edit, or Admin.\nPermission to associate with item. Must be one of `View`, `Edit`, or `Admin`.' } }, - withPermission(value): { - permission: value, - }, - '#withRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`.' } }, - withRole(value): { - role: value, - }, - '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the team to manage permissions for. Defaults to 0.\nID of the team to manage permissions for. Defaults to `0`.' } }, - withTeamId(value): { - teamId: value, - }, - '#withTeamRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, - withTeamRef(value): { - teamRef: value, - }, - '#withTeamRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, - withTeamRefMixin(value): { - teamRef+: value, - }, - teamRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - teamRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - teamRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - teamRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - teamRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - teamRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, - withTeamSelector(value): { - teamSelector: value, - }, - '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, - withTeamSelectorMixin(value): { - teamSelector+: value, - }, - teamSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - teamSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - teamSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - teamSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - teamSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - teamSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - teamSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - teamSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withUserId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the user or service account to manage permissions for. Defaults to 0.\nID of the user or service account to manage permissions for. Defaults to `0`.' } }, - withUserId(value): { - userId: value, - }, - '#withUserRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, - withUserRef(value): { - userRef: value, - }, - '#withUserRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, - withUserRefMixin(value): { - userRef+: value, - }, - userRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - userRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - userRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - userRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - userRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - userRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withUserSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, - withUserSelector(value): { - userSelector: value, - }, - '#withUserSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, - withUserSelectorMixin(value): { - userSelector+: value, - }, - userSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - userSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - userSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - userSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - userSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - userSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - userSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - userSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - dashboardPublic+: - { - '#': { help: '', name: 'dashboardPublic' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'DashboardPublic', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'DashboardPublicSpec defines the desired state of DashboardPublic' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'DashboardPublicSpec defines the desired state of DashboardPublic' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withAccessToken': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) A public unique identifier of a public dashboard. This is used to construct its URL. It's automatically generated if not provided when creating a public dashboard.\nA public unique identifier of a public dashboard. This is used to construct its URL. It's automatically generated if not provided when creating a public dashboard." } }, - withAccessToken(value): { - spec+: { - parameters+: { - forProvider+: { - accessToken: value, - }, - }, - }, - }, - '#withAnnotationsEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Set to true to show annotations. The default value is false.\nSet to `true` to show annotations. The default value is `false`.' } }, - withAnnotationsEnabled(value=true): { - spec+: { - parameters+: { - forProvider+: { - annotationsEnabled: value, - }, - }, - }, - }, - '#withDashboardRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, - withDashboardRef(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardRef: value, - }, - }, - }, - }, - '#withDashboardRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, - withDashboardRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardRef+: value, - }, - }, - }, - }, - dashboardRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - dashboardRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDashboardSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, - withDashboardSelector(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector: value, - }, - }, - }, - }, - '#withDashboardSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, - withDashboardSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: value, - }, - }, - }, - }, - dashboardSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDashboardUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The unique identifier of the original dashboard.\nThe unique identifier of the original dashboard.' } }, - withDashboardUid(value): { - spec+: { - parameters+: { - forProvider+: { - dashboardUid: value, - }, - }, - }, - }, - '#withIsEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Set to true to enable the public dashboard. The default value is false.\nSet to `true` to enable the public dashboard. The default value is `false`.' } }, - withIsEnabled(value=true): { - spec+: { - parameters+: { - forProvider+: { - isEnabled: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withShare': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Set the share mode. The default value is public.\nSet the share mode. The default value is `public`.' } }, - withShare(value): { - spec+: { - parameters+: { - forProvider+: { - share: value, - }, - }, - }, - }, - '#withTimeSelectionEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Set to true to enable the time picker in the public dashboard. The default value is false.\nSet to `true` to enable the time picker in the public dashboard. The default value is `false`.' } }, - withTimeSelectionEnabled(value=true): { - spec+: { - parameters+: { - forProvider+: { - timeSelectionEnabled: value, - }, - }, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The unique identifier of a public dashboard. It's automatically generated if not provided when creating a public dashboard.\nThe unique identifier of a public dashboard. It's automatically generated if not provided when creating a public dashboard." } }, - withUid(value): { - spec+: { - parameters+: { - forProvider+: { - uid: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withAccessToken': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) A public unique identifier of a public dashboard. This is used to construct its URL. It's automatically generated if not provided when creating a public dashboard.\nA public unique identifier of a public dashboard. This is used to construct its URL. It's automatically generated if not provided when creating a public dashboard." } }, - withAccessToken(value): { - spec+: { - parameters+: { - initProvider+: { - accessToken: value, - }, - }, - }, - }, - '#withAnnotationsEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Set to true to show annotations. The default value is false.\nSet to `true` to show annotations. The default value is `false`.' } }, - withAnnotationsEnabled(value=true): { - spec+: { - parameters+: { - initProvider+: { - annotationsEnabled: value, - }, - }, - }, - }, - '#withDashboardRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, - withDashboardRef(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardRef: value, - }, - }, - }, - }, - '#withDashboardRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Dashboard in oss to populate dashboardUid.' } }, - withDashboardRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardRef+: value, - }, - }, - }, - }, - dashboardRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - dashboardRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDashboardSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, - withDashboardSelector(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector: value, - }, - }, - }, - }, - '#withDashboardSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Dashboard in oss to populate dashboardUid.' } }, - withDashboardSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: value, - }, - }, - }, - }, - dashboardSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withDashboardUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The unique identifier of the original dashboard.\nThe unique identifier of the original dashboard.' } }, - withDashboardUid(value): { - spec+: { - parameters+: { - initProvider+: { - dashboardUid: value, - }, - }, - }, - }, - '#withIsEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Set to true to enable the public dashboard. The default value is false.\nSet to `true` to enable the public dashboard. The default value is `false`.' } }, - withIsEnabled(value=true): { - spec+: { - parameters+: { - initProvider+: { - isEnabled: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withShare': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Set the share mode. The default value is public.\nSet the share mode. The default value is `public`.' } }, - withShare(value): { - spec+: { - parameters+: { - initProvider+: { - share: value, - }, - }, - }, - }, - '#withTimeSelectionEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Set to true to enable the time picker in the public dashboard. The default value is false.\nSet to `true` to enable the time picker in the public dashboard. The default value is `false`.' } }, - withTimeSelectionEnabled(value=true): { - spec+: { - parameters+: { - initProvider+: { - timeSelectionEnabled: value, - }, - }, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) The unique identifier of a public dashboard. It's automatically generated if not provided when creating a public dashboard.\nThe unique identifier of a public dashboard. It's automatically generated if not provided when creating a public dashboard." } }, - withUid(value): { - spec+: { - parameters+: { - initProvider+: { - uid: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - dashboard+: - { - '#': { help: '', name: 'dashboard' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'Dashboard', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'DashboardSpec defines the desired state of Dashboard' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'DashboardSpec defines the desired state of Dashboard' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withConfigJson': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The complete dashboard model JSON.\nThe complete dashboard model JSON.' } }, - withConfigJson(value): { - spec+: { - parameters+: { - forProvider+: { - configJson: value, - }, - }, - }, - }, - '#withFolder': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The id or UID of the folder to save the dashboard in.\nThe id or UID of the folder to save the dashboard in.' } }, - withFolder(value): { - spec+: { - parameters+: { - forProvider+: { - folder: value, - }, - }, - }, - }, - '#withFolderRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folder.' } }, - withFolderRef(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef: value, - }, - }, - }, - }, - '#withFolderRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folder.' } }, - withFolderRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: value, - }, - }, - }, - }, - folderRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withFolderSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folder.' } }, - withFolderSelector(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector: value, - }, - }, - }, - }, - '#withFolderSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folder.' } }, - withFolderSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: value, - }, - }, - }, - }, - folderSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Set a commit message for the version history.\nSet a commit message for the version history.' } }, - withMessage(value): { - spec+: { - parameters+: { - forProvider+: { - message: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOverwrite': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Set to true if you want to overwrite existing dashboard with newer version, same dashboard title in folder or same dashboard uid.\nSet to true if you want to overwrite existing dashboard with newer version, same dashboard title in folder or same dashboard uid.' } }, - withOverwrite(value=true): { - spec+: { - parameters+: { - forProvider+: { - overwrite: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withConfigJson': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The complete dashboard model JSON.\nThe complete dashboard model JSON.' } }, - withConfigJson(value): { - spec+: { - parameters+: { - initProvider+: { - configJson: value, - }, - }, - }, - }, - '#withFolder': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The id or UID of the folder to save the dashboard in.\nThe id or UID of the folder to save the dashboard in.' } }, - withFolder(value): { - spec+: { - parameters+: { - initProvider+: { - folder: value, - }, - }, - }, - }, - '#withFolderRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folder.' } }, - withFolderRef(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef: value, - }, - }, - }, - }, - '#withFolderRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folder.' } }, - withFolderRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: value, - }, - }, - }, - }, - folderRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withFolderSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folder.' } }, - withFolderSelector(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector: value, - }, - }, - }, - }, - '#withFolderSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folder.' } }, - withFolderSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: value, - }, - }, - }, - }, - folderSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMessage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Set a commit message for the version history.\nSet a commit message for the version history.' } }, - withMessage(value): { - spec+: { - parameters+: { - initProvider+: { - message: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOverwrite': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Set to true if you want to overwrite existing dashboard with newer version, same dashboard title in folder or same dashboard uid.\nSet to true if you want to overwrite existing dashboard with newer version, same dashboard title in folder or same dashboard uid.' } }, - withOverwrite(value=true): { - spec+: { - parameters+: { - initProvider+: { - overwrite: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - dataSource+: - { - '#': { help: '', name: 'dataSource' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'DataSource', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'DataSourceSpec defines the desired state of DataSource' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'DataSourceSpec defines the desired state of DataSource' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withAccessMode': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The method by which Grafana will access the data source: proxy or direct. Defaults to proxy.\nThe method by which Grafana will access the data source: `proxy` or `direct`. Defaults to `proxy`.' } }, - withAccessMode(value): { - spec+: { - parameters+: { - forProvider+: { - accessMode: value, - }, - }, - }, - }, - '#withBasicAuthEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to enable basic auth for the data source. Defaults to false.\nWhether to enable basic auth for the data source. Defaults to `false`.' } }, - withBasicAuthEnabled(value=true): { - spec+: { - parameters+: { - forProvider+: { - basicAuthEnabled: value, - }, - }, - }, - }, - '#withBasicAuthUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Basic auth username. Defaults to “.\nBasic auth username. Defaults to “.' } }, - withBasicAuthUsername(value): { - spec+: { - parameters+: { - forProvider+: { - basicAuthUsername: value, - }, - }, - }, - }, - '#withDatabaseName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the database to use on the selected data source server. Defaults to “.\n(Required by some data source types) The name of the database to use on the selected data source server. Defaults to “.' } }, - withDatabaseName(value): { - spec+: { - parameters+: { - forProvider+: { - databaseName: value, - }, - }, - }, - }, - '#withHttpHeadersSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Custom HTTP headers\nCustom HTTP headers' } }, - withHttpHeadersSecretRef(value): { - spec+: { - parameters+: { - forProvider+: { - httpHeadersSecretRef: value, - }, - }, - }, - }, - '#withHttpHeadersSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String, Sensitive) Custom HTTP headers\nCustom HTTP headers' } }, - withHttpHeadersSecretRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - httpHeadersSecretRef+: value, - }, - }, - }, - }, - httpHeadersSecretRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - httpHeadersSecretRef+: { - name: value, - }, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - forProvider+: { - httpHeadersSecretRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withIsDefault': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to set the data source as default. This should only be true to a single data source. Defaults to false.\nWhether to set the data source as default. This should only be `true` to a single data source. Defaults to `false`.' } }, - withIsDefault(value=true): { - spec+: { - parameters+: { - forProvider+: { - isDefault: value, - }, - }, - }, - }, - '#withJsonDataEncoded': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Serialized JSON string containing the json data. This attribute can be used to pass configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.\nSerialized JSON string containing the json data. This attribute can be used to pass configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.' } }, - withJsonDataEncoded(value): { - spec+: { - parameters+: { - forProvider+: { - jsonDataEncoded: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) A unique name for the data source.\nA unique name for the data source.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withSecureJsonDataEncodedSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Serialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.\nSerialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.' } }, - withSecureJsonDataEncodedSecretRef(value): { - spec+: { - parameters+: { - forProvider+: { - secureJsonDataEncodedSecretRef: value, - }, - }, - }, - }, - '#withSecureJsonDataEncodedSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Serialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.\nSerialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.' } }, - withSecureJsonDataEncodedSecretRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - secureJsonDataEncodedSecretRef+: value, - }, - }, - }, - }, - secureJsonDataEncodedSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - spec+: { - parameters+: { - forProvider+: { - secureJsonDataEncodedSecretRef+: { - key: value, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - secureJsonDataEncodedSecretRef+: { - name: value, - }, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - forProvider+: { - secureJsonDataEncodedSecretRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The data source type. Must be one of the supported data source keywords.\nThe data source type. Must be one of the supported data source keywords.' } }, - withType(value): { - spec+: { - parameters+: { - forProvider+: { - type: value, - }, - }, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Unique identifier. If unset, this will be automatically generated.\nUnique identifier. If unset, this will be automatically generated.' } }, - withUid(value): { - spec+: { - parameters+: { - forProvider+: { - uid: value, - }, - }, - }, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL for the data source. The type of URL required varies depending on the chosen data source type.\nThe URL for the data source. The type of URL required varies depending on the chosen data source type.' } }, - withUrl(value): { - spec+: { - parameters+: { - forProvider+: { - url: value, - }, - }, - }, - }, - '#withUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The username to use to authenticate to the data source. Defaults to “.\n(Required by some data source types) The username to use to authenticate to the data source. Defaults to “.' } }, - withUsername(value): { - spec+: { - parameters+: { - forProvider+: { - username: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withAccessMode': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The method by which Grafana will access the data source: proxy or direct. Defaults to proxy.\nThe method by which Grafana will access the data source: `proxy` or `direct`. Defaults to `proxy`.' } }, - withAccessMode(value): { - spec+: { - parameters+: { - initProvider+: { - accessMode: value, - }, - }, - }, - }, - '#withBasicAuthEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to enable basic auth for the data source. Defaults to false.\nWhether to enable basic auth for the data source. Defaults to `false`.' } }, - withBasicAuthEnabled(value=true): { - spec+: { - parameters+: { - initProvider+: { - basicAuthEnabled: value, - }, - }, - }, - }, - '#withBasicAuthUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Basic auth username. Defaults to “.\nBasic auth username. Defaults to “.' } }, - withBasicAuthUsername(value): { - spec+: { - parameters+: { - initProvider+: { - basicAuthUsername: value, - }, - }, - }, - }, - '#withDatabaseName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the database to use on the selected data source server. Defaults to “.\n(Required by some data source types) The name of the database to use on the selected data source server. Defaults to “.' } }, - withDatabaseName(value): { - spec+: { - parameters+: { - initProvider+: { - databaseName: value, - }, - }, - }, - }, - '#withHttpHeadersSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withHttpHeadersSecretRef(value): { - spec+: { - parameters+: { - initProvider+: { - httpHeadersSecretRef: value, - }, - }, - }, - }, - '#withHttpHeadersSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withHttpHeadersSecretRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - httpHeadersSecretRef+: value, - }, - }, - }, - }, - '#withIsDefault': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to set the data source as default. This should only be true to a single data source. Defaults to false.\nWhether to set the data source as default. This should only be `true` to a single data source. Defaults to `false`.' } }, - withIsDefault(value=true): { - spec+: { - parameters+: { - initProvider+: { - isDefault: value, - }, - }, - }, - }, - '#withJsonDataEncoded': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Serialized JSON string containing the json data. This attribute can be used to pass configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.\nSerialized JSON string containing the json data. This attribute can be used to pass configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.' } }, - withJsonDataEncoded(value): { - spec+: { - parameters+: { - initProvider+: { - jsonDataEncoded: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) A unique name for the data source.\nA unique name for the data source.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withSecureJsonDataEncodedSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Serialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.\nSerialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.' } }, - withSecureJsonDataEncodedSecretRef(value): { - spec+: { - parameters+: { - initProvider+: { - secureJsonDataEncodedSecretRef: value, - }, - }, - }, - }, - '#withSecureJsonDataEncodedSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Serialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.\nSerialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.' } }, - withSecureJsonDataEncodedSecretRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - secureJsonDataEncodedSecretRef+: value, - }, - }, - }, - }, - secureJsonDataEncodedSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - spec+: { - parameters+: { - initProvider+: { - secureJsonDataEncodedSecretRef+: { - key: value, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - secureJsonDataEncodedSecretRef+: { - name: value, - }, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - initProvider+: { - secureJsonDataEncodedSecretRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The data source type. Must be one of the supported data source keywords.\nThe data source type. Must be one of the supported data source keywords.' } }, - withType(value): { - spec+: { - parameters+: { - initProvider+: { - type: value, - }, - }, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Unique identifier. If unset, this will be automatically generated.\nUnique identifier. If unset, this will be automatically generated.' } }, - withUid(value): { - spec+: { - parameters+: { - initProvider+: { - uid: value, - }, - }, - }, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL for the data source. The type of URL required varies depending on the chosen data source type.\nThe URL for the data source. The type of URL required varies depending on the chosen data source type.' } }, - withUrl(value): { - spec+: { - parameters+: { - initProvider+: { - url: value, - }, - }, - }, - }, - '#withUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The username to use to authenticate to the data source. Defaults to “.\n(Required by some data source types) The username to use to authenticate to the data source. Defaults to “.' } }, - withUsername(value): { - spec+: { - parameters+: { - initProvider+: { - username: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - folderPermission+: - { - '#': { help: '', name: 'folderPermission' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'FolderPermission', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'FolderPermissionSpec defines the desired state of FolderPermission' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'FolderPermissionSpec defines the desired state of FolderPermission' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withFolderRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, - withFolderRef(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef: value, - }, - }, - }, - }, - '#withFolderRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, - withFolderRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: value, - }, - }, - }, - }, - folderRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withFolderSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, - withFolderSelector(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector: value, - }, - }, - }, - }, - '#withFolderSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, - withFolderSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: value, - }, - }, - }, - }, - folderSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The UID of the folder.\nThe UID of the folder.' } }, - withFolderUid(value): { - spec+: { - parameters+: { - forProvider+: { - folderUid: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withPermissions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, - withPermissions(value): { - spec+: { - parameters+: { - forProvider+: { - permissions: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPermissionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, - withPermissionsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - permissions+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - permissions+: - { - '#': { help: '', name: 'permissions' }, - '#withPermission': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Permission to associate with item. Must be one of View, Edit, or Admin.\nPermission to associate with item. Must be one of `View`, `Edit`, or `Admin`.' } }, - withPermission(value): { - permission: value, - }, - '#withRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`.' } }, - withRole(value): { - role: value, - }, - '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the team to manage permissions for. Defaults to 0.\nID of the team to manage permissions for. Defaults to `0`.' } }, - withTeamId(value): { - teamId: value, - }, - '#withTeamRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, - withTeamRef(value): { - teamRef: value, - }, - '#withTeamRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, - withTeamRefMixin(value): { - teamRef+: value, - }, - teamRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - teamRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - teamRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - teamRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - teamRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - teamRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, - withTeamSelector(value): { - teamSelector: value, - }, - '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, - withTeamSelectorMixin(value): { - teamSelector+: value, - }, - teamSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - teamSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - teamSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - teamSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - teamSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - teamSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - teamSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - teamSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withUserId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the user or service account to manage permissions for. Defaults to 0.\nID of the user or service account to manage permissions for. Defaults to `0`.' } }, - withUserId(value): { - userId: value, - }, - '#withUserRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, - withUserRef(value): { - userRef: value, - }, - '#withUserRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, - withUserRefMixin(value): { - userRef+: value, - }, - userRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - userRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - userRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - userRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - userRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - userRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withUserSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, - withUserSelector(value): { - userSelector: value, - }, - '#withUserSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, - withUserSelectorMixin(value): { - userSelector+: value, - }, - userSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - userSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - userSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - userSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - userSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - userSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - userSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - userSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withFolderRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, - withFolderRef(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef: value, - }, - }, - }, - }, - '#withFolderRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, - withFolderRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: value, - }, - }, - }, - }, - folderRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withFolderSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, - withFolderSelector(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector: value, - }, - }, - }, - }, - '#withFolderSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, - withFolderSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: value, - }, - }, - }, - }, - folderSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The UID of the folder.\nThe UID of the folder.' } }, - withFolderUid(value): { - spec+: { - parameters+: { - initProvider+: { - folderUid: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withPermissions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, - withPermissions(value): { - spec+: { - parameters+: { - initProvider+: { - permissions: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPermissionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, - withPermissionsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - permissions+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - permissions+: - { - '#': { help: '', name: 'permissions' }, - '#withPermission': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Permission to associate with item. Must be one of View, Edit, or Admin.\nPermission to associate with item. Must be one of `View`, `Edit`, or `Admin`.' } }, - withPermission(value): { - permission: value, - }, - '#withRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`.' } }, - withRole(value): { - role: value, - }, - '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the team to manage permissions for. Defaults to 0.\nID of the team to manage permissions for. Defaults to `0`.' } }, - withTeamId(value): { - teamId: value, - }, - '#withTeamRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, - withTeamRef(value): { - teamRef: value, - }, - '#withTeamRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, - withTeamRefMixin(value): { - teamRef+: value, - }, - teamRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - teamRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - teamRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - teamRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - teamRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - teamRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, - withTeamSelector(value): { - teamSelector: value, - }, - '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, - withTeamSelectorMixin(value): { - teamSelector+: value, - }, - teamSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - teamSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - teamSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - teamSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - teamSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - teamSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - teamSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - teamSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withUserId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the user or service account to manage permissions for. Defaults to 0.\nID of the user or service account to manage permissions for. Defaults to `0`.' } }, - withUserId(value): { - userId: value, - }, - '#withUserRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, - withUserRef(value): { - userRef: value, - }, - '#withUserRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, - withUserRefMixin(value): { - userRef+: value, - }, - userRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - userRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - userRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - userRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - userRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - userRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withUserSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, - withUserSelector(value): { - userSelector: value, - }, - '#withUserSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, - withUserSelectorMixin(value): { - userSelector+: value, - }, - userSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - userSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - userSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - userSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - userSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - userSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - userSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - userSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - folder+: - { - '#': { help: '', name: 'folder' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'Folder', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'FolderSpec defines the desired state of Folder' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'FolderSpec defines the desired state of Folder' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withFolderRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate parentFolderUid.' } }, - withFolderRef(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef: value, - }, - }, - }, - }, - '#withFolderRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate parentFolderUid.' } }, - withFolderRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: value, - }, - }, - }, - }, - folderRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withFolderSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate parentFolderUid.' } }, - withFolderSelector(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector: value, - }, - }, - }, - }, - '#withFolderSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate parentFolderUid.' } }, - withFolderSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: value, - }, - }, - }, - }, - folderSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withParentFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance.\nThe uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance.' } }, - withParentFolderUid(value): { - spec+: { - parameters+: { - forProvider+: { - parentFolderUid: value, - }, - }, - }, - }, - '#withPreventDestroyIfNotEmpty': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Prevent deletion of the folder if it is not empty (contains dashboards or alert rules). This feature requires Grafana 10.2 or later. Defaults to false.\nPrevent deletion of the folder if it is not empty (contains dashboards or alert rules). This feature requires Grafana 10.2 or later. Defaults to `false`.' } }, - withPreventDestroyIfNotEmpty(value=true): { - spec+: { - parameters+: { - forProvider+: { - preventDestroyIfNotEmpty: value, - }, - }, - }, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The title of the folder.\nThe title of the folder.' } }, - withTitle(value): { - spec+: { - parameters+: { - forProvider+: { - title: value, - }, - }, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Unique identifier.\nUnique identifier.' } }, - withUid(value): { - spec+: { - parameters+: { - forProvider+: { - uid: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withFolderRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate parentFolderUid.' } }, - withFolderRef(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef: value, - }, - }, - }, - }, - '#withFolderRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate parentFolderUid.' } }, - withFolderRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: value, - }, - }, - }, - }, - folderRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withFolderSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate parentFolderUid.' } }, - withFolderSelector(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector: value, - }, - }, - }, - }, - '#withFolderSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate parentFolderUid.' } }, - withFolderSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: value, - }, - }, - }, - }, - folderSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withParentFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance.\nThe uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance.' } }, - withParentFolderUid(value): { - spec+: { - parameters+: { - initProvider+: { - parentFolderUid: value, - }, - }, - }, - }, - '#withPreventDestroyIfNotEmpty': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Prevent deletion of the folder if it is not empty (contains dashboards or alert rules). This feature requires Grafana 10.2 or later. Defaults to false.\nPrevent deletion of the folder if it is not empty (contains dashboards or alert rules). This feature requires Grafana 10.2 or later. Defaults to `false`.' } }, - withPreventDestroyIfNotEmpty(value=true): { - spec+: { - parameters+: { - initProvider+: { - preventDestroyIfNotEmpty: value, - }, - }, - }, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The title of the folder.\nThe title of the folder.' } }, - withTitle(value): { - spec+: { - parameters+: { - initProvider+: { - title: value, - }, - }, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Unique identifier.\nUnique identifier.' } }, - withUid(value): { - spec+: { - parameters+: { - initProvider+: { - uid: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - libraryPanel+: - { - '#': { help: '', name: 'libraryPanel' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'LibraryPanel', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'LibraryPanelSpec defines the desired state of LibraryPanel' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'LibraryPanelSpec defines the desired state of LibraryPanel' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withFolderRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, - withFolderRef(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef: value, - }, - }, - }, - }, - '#withFolderRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, - withFolderRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: value, - }, - }, - }, - }, - folderRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - folderRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withFolderSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, - withFolderSelector(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector: value, - }, - }, - }, - }, - '#withFolderSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, - withFolderSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: value, - }, - }, - }, - }, - folderSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - folderSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Unique ID (UID) of the folder containing the library panel.\nUnique ID (UID) of the folder containing the library panel.' } }, - withFolderUid(value): { - spec+: { - parameters+: { - forProvider+: { - folderUid: value, - }, - }, - }, - }, - '#withModelJson': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The JSON model for the library panel.\nThe JSON model for the library panel.' } }, - withModelJson(value): { - spec+: { - parameters+: { - forProvider+: { - modelJson: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the library panel.\nName of the library panel.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The unique identifier (UID) of a library panel uniquely identifies library panels between multiple Grafana installs. It’s automatically generated unless you specify it during library panel creation.The UID provides consistent URLs for accessing library panels and when syncing library panels between multiple Grafana installs.\nThe unique identifier (UID) of a library panel uniquely identifies library panels between multiple Grafana installs. It’s automatically generated unless you specify it during library panel creation.The UID provides consistent URLs for accessing library panels and when syncing library panels between multiple Grafana installs.' } }, - withUid(value): { - spec+: { - parameters+: { - forProvider+: { - uid: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withFolderRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, - withFolderRef(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef: value, - }, - }, - }, - }, - '#withFolderRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Folder in oss to populate folderUid.' } }, - withFolderRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: value, - }, - }, - }, - }, - folderRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - folderRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withFolderSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, - withFolderSelector(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector: value, - }, - }, - }, - }, - '#withFolderSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Folder in oss to populate folderUid.' } }, - withFolderSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: value, - }, - }, - }, - }, - folderSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - folderSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Unique ID (UID) of the folder containing the library panel.\nUnique ID (UID) of the folder containing the library panel.' } }, - withFolderUid(value): { - spec+: { - parameters+: { - initProvider+: { - folderUid: value, - }, - }, - }, - }, - '#withModelJson': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The JSON model for the library panel.\nThe JSON model for the library panel.' } }, - withModelJson(value): { - spec+: { - parameters+: { - initProvider+: { - modelJson: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the library panel.\nName of the library panel.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The unique identifier (UID) of a library panel uniquely identifies library panels between multiple Grafana installs. It’s automatically generated unless you specify it during library panel creation.The UID provides consistent URLs for accessing library panels and when syncing library panels between multiple Grafana installs.\nThe unique identifier (UID) of a library panel uniquely identifies library panels between multiple Grafana installs. It’s automatically generated unless you specify it during library panel creation.The UID provides consistent URLs for accessing library panels and when syncing library panels between multiple Grafana installs.' } }, - withUid(value): { - spec+: { - parameters+: { - initProvider+: { - uid: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - organizationPreferences+: - { - '#': { help: '', name: 'organizationPreferences' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'OrganizationPreferences', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'OrganizationPreferencesSpec defines the desired state of OrganizationPreferences' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'OrganizationPreferencesSpec defines the desired state of OrganizationPreferences' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withHomeDashboardUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization home dashboard UID. This is only available in Grafana 9.0+.\nThe Organization home dashboard UID. This is only available in Grafana 9.0+.' } }, - withHomeDashboardUid(value): { - spec+: { - parameters+: { - forProvider+: { - homeDashboardUid: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withTheme': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization theme. Available values are light, dark, system, or an empty string for the default.\nThe Organization theme. Available values are `light`, `dark`, `system`, or an empty string for the default.' } }, - withTheme(value): { - spec+: { - parameters+: { - forProvider+: { - theme: value, - }, - }, - }, - }, - '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization timezone. Available values are utc, browser, or an empty string for the default.\nThe Organization timezone. Available values are `utc`, `browser`, or an empty string for the default.' } }, - withTimezone(value): { - spec+: { - parameters+: { - forProvider+: { - timezone: value, - }, - }, - }, - }, - '#withWeekStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization week start day. Available values are sunday, monday, saturday, or an empty string for the default. Defaults to “.\nThe Organization week start day. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default. Defaults to “.' } }, - withWeekStart(value): { - spec+: { - parameters+: { - forProvider+: { - weekStart: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withHomeDashboardUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization home dashboard UID. This is only available in Grafana 9.0+.\nThe Organization home dashboard UID. This is only available in Grafana 9.0+.' } }, - withHomeDashboardUid(value): { - spec+: { - parameters+: { - initProvider+: { - homeDashboardUid: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withTheme': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization theme. Available values are light, dark, system, or an empty string for the default.\nThe Organization theme. Available values are `light`, `dark`, `system`, or an empty string for the default.' } }, - withTheme(value): { - spec+: { - parameters+: { - initProvider+: { - theme: value, - }, - }, - }, - }, - '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization timezone. Available values are utc, browser, or an empty string for the default.\nThe Organization timezone. Available values are `utc`, `browser`, or an empty string for the default.' } }, - withTimezone(value): { - spec+: { - parameters+: { - initProvider+: { - timezone: value, - }, - }, - }, - }, - '#withWeekStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization week start day. Available values are sunday, monday, saturday, or an empty string for the default. Defaults to “.\nThe Organization week start day. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default. Defaults to “.' } }, - withWeekStart(value): { - spec+: { - parameters+: { - initProvider+: { - weekStart: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - organization+: - { - '#': { help: '', name: 'organization' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'Organization', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'OrganizationSpec defines the desired state of Organization' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'OrganizationSpec defines the desired state of Organization' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withAdminUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The login name of the configured default admin user for the Grafana\ninstallation. If unset, this value defaults to admin, the Grafana default.\nDefaults to admin.\nThe login name of the configured default admin user for the Grafana\ninstallation. If unset, this value defaults to admin, the Grafana default.\nDefaults to `admin`.' } }, - withAdminUser(value): { - spec+: { - parameters+: { - forProvider+: { - adminUser: value, - }, - }, - }, - }, - '#withAdmins': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given admin\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given admin\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, - withAdmins(value): { - spec+: { - parameters+: { - forProvider+: { - admins: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withAdminsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given admin\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given admin\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, - withAdminsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - admins+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withCreateUsers': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether or not to create Grafana users specified in the organization's\nmembership if they don't already exist in Grafana. If unspecified, this\nparameter defaults to true, creating placeholder users with the name, login,\nand email set to the email of the user, and a random password. Setting this\noption to false will cause an error to be thrown for any users that do not\nalready exist in Grafana.\nDefaults to true.\nWhether or not to create Grafana users specified in the organization's\nmembership if they don't already exist in Grafana. If unspecified, this\nparameter defaults to true, creating placeholder users with the name, login,\nand email set to the email of the user, and a random password. Setting this\noption to false will cause an error to be thrown for any users that do not\nalready exist in Grafana.\nDefaults to `true`." } }, - withCreateUsers(value=true): { - spec+: { - parameters+: { - forProvider+: { - createUsers: value, - }, - }, - }, - }, - '#withEditors': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given editor\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given editor\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, - withEditors(value): { - spec+: { - parameters+: { - forProvider+: { - editors: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withEditorsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given editor\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given editor\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, - withEditorsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - editors+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The display name for the Grafana organization created.\nThe display name for the Grafana organization created.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withUsersWithoutAccess': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given none access to the organization.\nNote: users specified here must already exist in Grafana, unless 'create_users' is\nset to true. This feature is only available in Grafana 10.2+.\nA list of email addresses corresponding to users who should be given none access to the organization.\nNote: users specified here must already exist in Grafana, unless 'create_users' is\nset to true. This feature is only available in Grafana 10.2+." } }, - withUsersWithoutAccess(value): { - spec+: { - parameters+: { - forProvider+: { - usersWithoutAccess: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withUsersWithoutAccessMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given none access to the organization.\nNote: users specified here must already exist in Grafana, unless 'create_users' is\nset to true. This feature is only available in Grafana 10.2+.\nA list of email addresses corresponding to users who should be given none access to the organization.\nNote: users specified here must already exist in Grafana, unless 'create_users' is\nset to true. This feature is only available in Grafana 10.2+." } }, - withUsersWithoutAccessMixin(value): { - spec+: { - parameters+: { - forProvider+: { - usersWithoutAccess+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withViewers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given viewer\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given viewer\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, - withViewers(value): { - spec+: { - parameters+: { - forProvider+: { - viewers: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withViewersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given viewer\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given viewer\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, - withViewersMixin(value): { - spec+: { - parameters+: { - forProvider+: { - viewers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withAdminUser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The login name of the configured default admin user for the Grafana\ninstallation. If unset, this value defaults to admin, the Grafana default.\nDefaults to admin.\nThe login name of the configured default admin user for the Grafana\ninstallation. If unset, this value defaults to admin, the Grafana default.\nDefaults to `admin`.' } }, - withAdminUser(value): { - spec+: { - parameters+: { - initProvider+: { - adminUser: value, - }, - }, - }, - }, - '#withAdmins': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given admin\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given admin\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, - withAdmins(value): { - spec+: { - parameters+: { - initProvider+: { - admins: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withAdminsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given admin\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given admin\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, - withAdminsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - admins+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withCreateUsers': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Whether or not to create Grafana users specified in the organization's\nmembership if they don't already exist in Grafana. If unspecified, this\nparameter defaults to true, creating placeholder users with the name, login,\nand email set to the email of the user, and a random password. Setting this\noption to false will cause an error to be thrown for any users that do not\nalready exist in Grafana.\nDefaults to true.\nWhether or not to create Grafana users specified in the organization's\nmembership if they don't already exist in Grafana. If unspecified, this\nparameter defaults to true, creating placeholder users with the name, login,\nand email set to the email of the user, and a random password. Setting this\noption to false will cause an error to be thrown for any users that do not\nalready exist in Grafana.\nDefaults to `true`." } }, - withCreateUsers(value=true): { - spec+: { - parameters+: { - initProvider+: { - createUsers: value, - }, - }, - }, - }, - '#withEditors': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given editor\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given editor\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, - withEditors(value): { - spec+: { - parameters+: { - initProvider+: { - editors: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withEditorsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given editor\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given editor\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, - withEditorsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - editors+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The display name for the Grafana organization created.\nThe display name for the Grafana organization created.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withUsersWithoutAccess': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given none access to the organization.\nNote: users specified here must already exist in Grafana, unless 'create_users' is\nset to true. This feature is only available in Grafana 10.2+.\nA list of email addresses corresponding to users who should be given none access to the organization.\nNote: users specified here must already exist in Grafana, unless 'create_users' is\nset to true. This feature is only available in Grafana 10.2+." } }, - withUsersWithoutAccess(value): { - spec+: { - parameters+: { - initProvider+: { - usersWithoutAccess: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withUsersWithoutAccessMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given none access to the organization.\nNote: users specified here must already exist in Grafana, unless 'create_users' is\nset to true. This feature is only available in Grafana 10.2+.\nA list of email addresses corresponding to users who should be given none access to the organization.\nNote: users specified here must already exist in Grafana, unless 'create_users' is\nset to true. This feature is only available in Grafana 10.2+." } }, - withUsersWithoutAccessMixin(value): { - spec+: { - parameters+: { - initProvider+: { - usersWithoutAccess+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withViewers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given viewer\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given viewer\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, - withViewers(value): { - spec+: { - parameters+: { - initProvider+: { - viewers: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withViewersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Set of String) A list of email addresses corresponding to users who should be given viewer\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.\nA list of email addresses corresponding to users who should be given viewer\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true." } }, - withViewersMixin(value): { - spec+: { - parameters+: { - initProvider+: { - viewers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - playlist+: - { - '#': { help: '', name: 'playlist' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'Playlist', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PlaylistSpec defines the desired state of Playlist' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PlaylistSpec defines the desired state of Playlist' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withInterval(value): { - spec+: { - parameters+: { - forProvider+: { - interval: value, - }, - }, - }, - }, - '#withItem': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1) (see below for nested schema)' } }, - withItem(value): { - spec+: { - parameters+: { - forProvider+: { - item: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withItemMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1) (see below for nested schema)' } }, - withItemMixin(value): { - spec+: { - parameters+: { - forProvider+: { - item+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - item+: - { - '#': { help: '', name: 'item' }, - '#withOrder': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number)' } }, - withOrder(value): { - order: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withTitle(value): { - title: value, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withType(value): { - type: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withValue(value): { - value: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the playlist.\nThe name of the playlist.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withInterval(value): { - spec+: { - parameters+: { - initProvider+: { - interval: value, - }, - }, - }, - }, - '#withItem': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1) (see below for nested schema)' } }, - withItem(value): { - spec+: { - parameters+: { - initProvider+: { - item: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withItemMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1) (see below for nested schema)' } }, - withItemMixin(value): { - spec+: { - parameters+: { - initProvider+: { - item+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - item+: - { - '#': { help: '', name: 'item' }, - '#withOrder': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number)' } }, - withOrder(value): { - order: value, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withTitle(value): { - title: value, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withType(value): { - type: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withValue(value): { - value: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the playlist.\nThe name of the playlist.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - serviceAccountPermission+: - { - '#': { help: '', name: 'serviceAccountPermission' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'ServiceAccountPermission', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ServiceAccountPermissionSpec defines the desired state of ServiceAccountPermission' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ServiceAccountPermissionSpec defines the desired state of ServiceAccountPermission' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withPermissions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, - withPermissions(value): { - spec+: { - parameters+: { - forProvider+: { - permissions: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPermissionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, - withPermissionsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - permissions+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - permissions+: - { - '#': { help: '', name: 'permissions' }, - '#withPermission': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Permission to associate with item. Must be one of View, Edit, or Admin.\nPermission to associate with item. Must be one of `View`, `Edit`, or `Admin`.' } }, - withPermission(value): { - permission: value, - }, - '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the team to manage permissions for. Defaults to 0.\nID of the team to manage permissions for. Defaults to `0`.' } }, - withTeamId(value): { - teamId: value, - }, - '#withTeamRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, - withTeamRef(value): { - teamRef: value, - }, - '#withTeamRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, - withTeamRefMixin(value): { - teamRef+: value, - }, - teamRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - teamRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - teamRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - teamRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - teamRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - teamRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, - withTeamSelector(value): { - teamSelector: value, - }, - '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, - withTeamSelectorMixin(value): { - teamSelector+: value, - }, - teamSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - teamSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - teamSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - teamSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - teamSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - teamSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - teamSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - teamSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withUserId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the user or service account to manage permissions for. Defaults to 0.\nID of the user or service account to manage permissions for. Defaults to `0`.' } }, - withUserId(value): { - userId: value, - }, - '#withUserRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, - withUserRef(value): { - userRef: value, - }, - '#withUserRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, - withUserRefMixin(value): { - userRef+: value, - }, - userRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - userRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - userRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - userRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - userRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - userRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withUserSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, - withUserSelector(value): { - userSelector: value, - }, - '#withUserSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, - withUserSelectorMixin(value): { - userSelector+: value, - }, - userSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - userSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - userSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - userSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - userSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - userSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - userSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - userSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - '#withServiceAccountId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The id of the service account.\nThe id of the service account.' } }, - withServiceAccountId(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountId: value, - }, - }, - }, - }, - '#withServiceAccountRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ServiceAccount in oss to populate serviceAccountId.' } }, - withServiceAccountRef(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRef: value, - }, - }, - }, - }, - '#withServiceAccountRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ServiceAccount in oss to populate serviceAccountId.' } }, - withServiceAccountRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRef+: value, - }, - }, - }, - }, - serviceAccountRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withServiceAccountSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ServiceAccount in oss to populate serviceAccountId.' } }, - withServiceAccountSelector(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector: value, - }, - }, - }, - }, - '#withServiceAccountSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ServiceAccount in oss to populate serviceAccountId.' } }, - withServiceAccountSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: value, - }, - }, - }, - }, - serviceAccountSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withPermissions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, - withPermissions(value): { - spec+: { - parameters+: { - initProvider+: { - permissions: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPermissionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema)\nThe permission items to add/update. Items that are omitted from the list will be removed.' } }, - withPermissionsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - permissions+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - permissions+: - { - '#': { help: '', name: 'permissions' }, - '#withPermission': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Permission to associate with item. Must be one of View, Edit, or Admin.\nPermission to associate with item. Must be one of `View`, `Edit`, or `Admin`.' } }, - withPermission(value): { - permission: value, - }, - '#withTeamId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the team to manage permissions for. Defaults to 0.\nID of the team to manage permissions for. Defaults to `0`.' } }, - withTeamId(value): { - teamId: value, - }, - '#withTeamRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, - withTeamRef(value): { - teamRef: value, - }, - '#withTeamRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Team in oss to populate teamId.' } }, - withTeamRefMixin(value): { - teamRef+: value, - }, - teamRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - teamRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - teamRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - teamRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - teamRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - teamRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withTeamSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, - withTeamSelector(value): { - teamSelector: value, - }, - '#withTeamSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Team in oss to populate teamId.' } }, - withTeamSelectorMixin(value): { - teamSelector+: value, - }, - teamSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - teamSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - teamSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - teamSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - teamSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - teamSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - teamSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - teamSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withUserId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) ID of the user or service account to manage permissions for. Defaults to 0.\nID of the user or service account to manage permissions for. Defaults to `0`.' } }, - withUserId(value): { - userId: value, - }, - '#withUserRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, - withUserRef(value): { - userRef: value, - }, - '#withUserRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a User in oss to populate userId.' } }, - withUserRefMixin(value): { - userRef+: value, - }, - userRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - userRef+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - userRef+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - userRef+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - userRef+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - userRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withUserSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, - withUserSelector(value): { - userSelector: value, - }, - '#withUserSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a User in oss to populate userId.' } }, - withUserSelectorMixin(value): { - userSelector+: value, - }, - userSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - userSelector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - userSelector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - userSelector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - userSelector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - userSelector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - userSelector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - userSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - '#withServiceAccountId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The id of the service account.\nThe id of the service account.' } }, - withServiceAccountId(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountId: value, - }, - }, - }, - }, - '#withServiceAccountRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ServiceAccount in oss to populate serviceAccountId.' } }, - withServiceAccountRef(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRef: value, - }, - }, - }, - }, - '#withServiceAccountRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ServiceAccount in oss to populate serviceAccountId.' } }, - withServiceAccountRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRef+: value, - }, - }, - }, - }, - serviceAccountRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withServiceAccountSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ServiceAccount in oss to populate serviceAccountId.' } }, - withServiceAccountSelector(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector: value, - }, - }, - }, - }, - '#withServiceAccountSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ServiceAccount in oss to populate serviceAccountId.' } }, - withServiceAccountSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: value, - }, - }, - }, - }, - serviceAccountSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - serviceAccount+: - { - '#': { help: '', name: 'serviceAccount' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'ServiceAccount', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ServiceAccountSpec defines the desired state of ServiceAccount' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ServiceAccountSpec defines the desired state of ServiceAccount' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withIsDisabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) The disabled status for the service account. Defaults to false.\nThe disabled status for the service account. Defaults to `false`.' } }, - withIsDisabled(value=true): { - spec+: { - parameters+: { - forProvider+: { - isDisabled: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the service account.\nThe name of the service account.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The basic role of the service account in the organization.\nThe basic role of the service account in the organization.' } }, - withRole(value): { - spec+: { - parameters+: { - forProvider+: { - role: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withIsDisabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) The disabled status for the service account. Defaults to false.\nThe disabled status for the service account. Defaults to `false`.' } }, - withIsDisabled(value=true): { - spec+: { - parameters+: { - initProvider+: { - isDisabled: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the service account.\nThe name of the service account.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The basic role of the service account in the organization.\nThe basic role of the service account in the organization.' } }, - withRole(value): { - spec+: { - parameters+: { - initProvider+: { - role: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - serviceAccountToken+: - { - '#': { help: '', name: 'serviceAccountToken' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'ServiceAccountToken', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ServiceAccountTokenSpec defines the desired state of ServiceAccountToken' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ServiceAccountTokenSpec defines the desired state of ServiceAccountToken' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the service account token.\nThe name of the service account token.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withSecondsToLive': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it is null, zero or is omitted completely (unless api_key_max_seconds_to_live configuration option is set) the key will never expire.\nThe key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it is null, zero or is omitted completely (unless `api_key_max_seconds_to_live` configuration option is set) the key will never expire.' } }, - withSecondsToLive(value): { - spec+: { - parameters+: { - forProvider+: { - secondsToLive: value, - }, - }, - }, - }, - '#withServiceAccountId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the service account to which the token belongs.\nThe ID of the service account to which the token belongs.' } }, - withServiceAccountId(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountId: value, - }, - }, - }, - }, - '#withServiceAccountRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ServiceAccount in oss to populate serviceAccountId.' } }, - withServiceAccountRef(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRef: value, - }, - }, - }, - }, - '#withServiceAccountRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ServiceAccount in oss to populate serviceAccountId.' } }, - withServiceAccountRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRef+: value, - }, - }, - }, - }, - serviceAccountRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withServiceAccountSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ServiceAccount in oss to populate serviceAccountId.' } }, - withServiceAccountSelector(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector: value, - }, - }, - }, - }, - '#withServiceAccountSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ServiceAccount in oss to populate serviceAccountId.' } }, - withServiceAccountSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: value, - }, - }, - }, - }, - serviceAccountSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - serviceAccountSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the service account token.\nThe name of the service account token.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withSecondsToLive': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) The key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it is null, zero or is omitted completely (unless api_key_max_seconds_to_live configuration option is set) the key will never expire.\nThe key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it is null, zero or is omitted completely (unless `api_key_max_seconds_to_live` configuration option is set) the key will never expire.' } }, - withSecondsToLive(value): { - spec+: { - parameters+: { - initProvider+: { - secondsToLive: value, - }, - }, - }, - }, - '#withServiceAccountId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID of the service account to which the token belongs.\nThe ID of the service account to which the token belongs.' } }, - withServiceAccountId(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountId: value, - }, - }, - }, - }, - '#withServiceAccountRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ServiceAccount in oss to populate serviceAccountId.' } }, - withServiceAccountRef(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRef: value, - }, - }, - }, - }, - '#withServiceAccountRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a ServiceAccount in oss to populate serviceAccountId.' } }, - withServiceAccountRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRef+: value, - }, - }, - }, - }, - serviceAccountRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withServiceAccountSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ServiceAccount in oss to populate serviceAccountId.' } }, - withServiceAccountSelector(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector: value, - }, - }, - }, - }, - '#withServiceAccountSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a ServiceAccount in oss to populate serviceAccountId.' } }, - withServiceAccountSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: value, - }, - }, - }, - }, - serviceAccountSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - serviceAccountSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - ssoSettings+: - { - '#': { help: '', name: 'ssoSettings' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'SsoSettings', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'SsoSettingsSpec defines the desired state of SsoSettings' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'SsoSettingsSpec defines the desired state of SsoSettings' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withOauth2Settings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) The OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers. (see below for nested schema)\nThe OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers.' } }, - withOauth2Settings(value): { - spec+: { - parameters+: { - forProvider+: { - oauth2Settings: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withOauth2SettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) The OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers. (see below for nested schema)\nThe OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers.' } }, - withOauth2SettingsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - oauth2Settings+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - oauth2Settings+: - { - '#': { help: '', name: 'oauth2Settings' }, - '#withAllowAssignGrafanaAdmin': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, it will automatically sync the Grafana server administrator role.\nIf enabled, it will automatically sync the Grafana server administrator role.' } }, - withAllowAssignGrafanaAdmin(value=true): { - allowAssignGrafanaAdmin: value, - }, - '#withAllowSignUp': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If not enabled, only existing Grafana users can log in using OAuth.\nIf not enabled, only existing Grafana users can log in using OAuth.' } }, - withAllowSignUp(value=true): { - allowSignUp: value, - }, - '#withAllowedDomains': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated domains. The user should belong to at least one domain to log in.\nList of comma- or space-separated domains. The user should belong to at least one domain to log in.' } }, - withAllowedDomains(value): { - allowedDomains: value, - }, - '#withAllowedGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated groups. The user should be a member of at least one group to log in. For Generic OAuth, if you configure allowed_groups, you must also configure groups_attribute_path.\nList of comma- or space-separated groups. The user should be a member of at least one group to log in. For Generic OAuth, if you configure allowed_groups, you must also configure groups_attribute_path.' } }, - withAllowedGroups(value): { - allowedGroups: value, - }, - '#withAllowedOrganizations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated organizations. The user should be a member of at least one organization to log in.\nList of comma- or space-separated organizations. The user should be a member of at least one organization to log in.' } }, - withAllowedOrganizations(value): { - allowedOrganizations: value, - }, - '#withApiUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The user information endpoint of your OAuth2 provider. Required for okta and generic_oauth providers.\nThe user information endpoint of your OAuth2 provider. Required for okta and generic_oauth providers.' } }, - withApiUrl(value): { - apiUrl: value, - }, - '#withAuthStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) It determines how client_id and client_secret are sent to Oauth2 provider. Possible values are AutoDetect, InParams, InHeader. Default is AutoDetect.\nIt determines how client_id and client_secret are sent to Oauth2 provider. Possible values are AutoDetect, InParams, InHeader. Default is AutoDetect.' } }, - withAuthStyle(value): { - authStyle: value, - }, - '#withAuthUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The authorization endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.\nThe authorization endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.' } }, - withAuthUrl(value): { - authUrl: value, - }, - '#withAutoLogin': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Log in automatically, skipping the login screen.\nLog in automatically, skipping the login screen.' } }, - withAutoLogin(value=true): { - autoLogin: value, - }, - '#withClientId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The client Id of your OAuth2 app.\nThe client Id of your OAuth2 app.' } }, - withClientId(value): { - clientId: value, - }, - '#withClientSecretSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The client secret of your OAuth2 app.\nThe client secret of your OAuth2 app.' } }, - withClientSecretSecretRef(value): { - clientSecretSecretRef: value, - }, - '#withClientSecretSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The client secret of your OAuth2 app.\nThe client secret of your OAuth2 app.' } }, - withClientSecretSecretRefMixin(value): { - clientSecretSecretRef+: value, - }, - clientSecretSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - clientSecretSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - clientSecretSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - clientSecretSecretRef+: { - namespace: value, - }, - }, - }, - '#withCustom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Custom fields to configure for OAuth2 such as the force_use_graph_api field.\nCustom fields to configure for OAuth2 such as the [force_use_graph_api](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/azuread/#force-fetching-groups-from-microsoft-graph-api) field.' } }, - withCustom(value): { - custom: value, - }, - '#withCustomMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Custom fields to configure for OAuth2 such as the force_use_graph_api field.\nCustom fields to configure for OAuth2 such as the [force_use_graph_api](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/azuread/#force-fetching-groups-from-microsoft-graph-api) field.' } }, - withCustomMixin(value): { - custom+: value, - }, - '#withDefineAllowedGroups': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Define allowed groups.\nDefine allowed groups.' } }, - withDefineAllowedGroups(value=true): { - defineAllowedGroups: value, - }, - '#withDefineAllowedTeamsIds': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Define allowed teams ids.\nDefine allowed teams ids.' } }, - withDefineAllowedTeamsIds(value=true): { - defineAllowedTeamsIds: value, - }, - '#withEmailAttributeName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the key to use for user email lookup within the attributes map of OAuth2 ID token. Only applicable to Generic OAuth.\nName of the key to use for user email lookup within the attributes map of OAuth2 ID token. Only applicable to Generic OAuth.' } }, - withEmailAttributeName(value): { - emailAttributeName: value, - }, - '#withEmailAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) JMESPath expression to use for user email lookup from the user information. Only applicable to Generic OAuth.\nJMESPath expression to use for user email lookup from the user information. Only applicable to Generic OAuth.' } }, - withEmailAttributePath(value): { - emailAttributePath: value, - }, - '#withEmptyScopes': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, no scopes will be sent to the OAuth2 provider.\nIf enabled, no scopes will be sent to the OAuth2 provider.' } }, - withEmptyScopes(value=true): { - emptyScopes: value, - }, - '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Define whether this configuration is enabled for the specified provider. Defaults to true.\nDefine whether this configuration is enabled for the specified provider. Defaults to `true`.' } }, - withEnabled(value=true): { - enabled: value, - }, - '#withGroupsAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) JMESPath expression to use for user group lookup. If you configure allowed_groups, you must also configure groups_attribute_path.\nJMESPath expression to use for user group lookup. If you configure allowed_groups, you must also configure groups_attribute_path.' } }, - withGroupsAttributePath(value): { - groupsAttributePath: value, - }, - '#withIdTokenAttributeName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the key used to extract the ID token from the returned OAuth2 token. Only applicable to Generic OAuth.\nThe name of the key used to extract the ID token from the returned OAuth2 token. Only applicable to Generic OAuth.' } }, - withIdTokenAttributeName(value): { - idTokenAttributeName: value, - }, - '#withLoginAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) JMESPath expression to use for user login lookup from the user ID token. Only applicable to Generic OAuth.\nJMESPath expression to use for user login lookup from the user ID token. Only applicable to Generic OAuth.' } }, - withLoginAttributePath(value): { - loginAttributePath: value, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Helpful if you use more than one identity providers or SSO protocols.\nHelpful if you use more than one identity providers or SSO protocols.' } }, - withName(value): { - name: value, - }, - '#withNameAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) JMESPath expression to use for user name lookup from the user ID token. This name will be used as the user’s display name. Only applicable to Generic OAuth.\nJMESPath expression to use for user name lookup from the user ID token. This name will be used as the user’s display name. Only applicable to Generic OAuth.' } }, - withNameAttributePath(value): { - nameAttributePath: value, - }, - '#withRoleAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) JMESPath expression to use for Grafana role lookup.\nJMESPath expression to use for Grafana role lookup.' } }, - withRoleAttributePath(value): { - roleAttributePath: value, - }, - '#withRoleAttributeStrict': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, denies user login if the Grafana role cannot be extracted using Role attribute path.\nIf enabled, denies user login if the Grafana role cannot be extracted using Role attribute path.' } }, - withRoleAttributeStrict(value=true): { - roleAttributeStrict: value, - }, - '#withScopes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated OAuth2 scopes.\nList of comma- or space-separated OAuth2 scopes.' } }, - withScopes(value): { - scopes: value, - }, - '#withSignoutRedirectUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL to redirect the user to after signing out from Grafana.\nThe URL to redirect the user to after signing out from Grafana.' } }, - withSignoutRedirectUrl(value): { - signoutRedirectUrl: value, - }, - '#withSkipOrgRoleSync': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Prevent synchronizing users’ organization roles from your IdP.\nPrevent synchronizing users’ organization roles from your IdP.' } }, - withSkipOrgRoleSync(value=true): { - skipOrgRoleSync: value, - }, - '#withTeamIds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) String list of Team Ids. If set, the user must be a member of one of the given teams to log in. If you configure team_ids, you must also configure teams_url and team_ids_attribute_path.\nString list of Team Ids. If set, the user must be a member of one of the given teams to log in. If you configure team_ids, you must also configure teams_url and team_ids_attribute_path.' } }, - withTeamIds(value): { - teamIds: value, - }, - '#withTeamIdsAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The JMESPath expression to use for Grafana Team Id lookup within the results returned by the teams_url endpoint. Only applicable to Generic OAuth.\nThe JMESPath expression to use for Grafana Team Id lookup within the results returned by the teams_url endpoint. Only applicable to Generic OAuth.' } }, - withTeamIdsAttributePath(value): { - teamIdsAttributePath: value, - }, - '#withTeamsUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL used to query for Team Ids. If not set, the default value is /teams. If you configure teams_url, you must also configure team_ids_attribute_path. Only applicable to Generic OAuth.\nThe URL used to query for Team Ids. If not set, the default value is /teams. If you configure teams_url, you must also configure team_ids_attribute_path. Only applicable to Generic OAuth.' } }, - withTeamsUrl(value): { - teamsUrl: value, - }, - '#withTlsClientCa': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The path to the trusted certificate authority list. Is not applicable on Grafana Cloud.\nThe path to the trusted certificate authority list. Is not applicable on Grafana Cloud.' } }, - withTlsClientCa(value): { - tlsClientCa: value, - }, - '#withTlsClientCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The path to the certificate. Is not applicable on Grafana Cloud.\nThe path to the certificate. Is not applicable on Grafana Cloud.' } }, - withTlsClientCert(value): { - tlsClientCert: value, - }, - '#withTlsClientKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The path to the key. Is not applicable on Grafana Cloud.\nThe path to the key. Is not applicable on Grafana Cloud.' } }, - withTlsClientKey(value): { - tlsClientKey: value, - }, - '#withTlsSkipVerifyInsecure': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'in-the-middle attacks.\nIf enabled, the client accepts any certificate presented by the server and any host name in that certificate. You should only use this for testing, because this mode leaves SSL/TLS susceptible to man-in-the-middle attacks.' } }, - withTlsSkipVerifyInsecure(value=true): { - tlsSkipVerifyInsecure: value, - }, - '#withTokenUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The token endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.\nThe token endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.' } }, - withTokenUrl(value): { - tokenUrl: value, - }, - '#withUsePkce': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, Grafana will use Proof Key for Code Exchange (PKCE) with the OAuth2 Authorization Code Grant.\nIf enabled, Grafana will use Proof Key for Code Exchange (PKCE) with the OAuth2 Authorization Code Grant.' } }, - withUsePkce(value=true): { - usePkce: value, - }, - '#withUseRefreshToken': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, Grafana will fetch a new access token using the refresh token provided by the OAuth2 provider.\nIf enabled, Grafana will fetch a new access token using the refresh token provided by the OAuth2 provider.' } }, - withUseRefreshToken(value=true): { - useRefreshToken: value, - }, - }, - '#withProviderName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the SSO provider. Supported values: github, gitlab, google, azuread, okta, generic_oauth, saml.\nThe name of the SSO provider. Supported values: github, gitlab, google, azuread, okta, generic_oauth, saml.' } }, - withProviderName(value): { - spec+: { - parameters+: { - forProvider+: { - providerName: value, - }, - }, - }, - }, - '#withSamlSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) The SAML settings set. Required for the saml provider. (see below for nested schema)\nThe SAML settings set. Required for the saml provider.' } }, - withSamlSettings(value): { - spec+: { - parameters+: { - forProvider+: { - samlSettings: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withSamlSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) The SAML settings set. Required for the saml provider. (see below for nested schema)\nThe SAML settings set. Required for the saml provider.' } }, - withSamlSettingsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - samlSettings+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - samlSettings+: - { - '#': { help: '', name: 'samlSettings' }, - '#withAllowIdpInitiated': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'initiated login is allowed.\nWhether SAML IdP-initiated login is allowed.' } }, - withAllowIdpInitiated(value=true): { - allowIdpInitiated: value, - }, - '#withAllowSignUp': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If not enabled, only existing Grafana users can log in using OAuth.\nWhether to allow new Grafana user creation through SAML login. If set to false, then only existing Grafana users can log in with SAML.' } }, - withAllowSignUp(value=true): { - allowSignUp: value, - }, - '#withAllowedOrganizations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated organizations. The user should be a member of at least one organization to log in.\nList of comma- or space-separated organizations. User should be a member of at least one organization to log in.' } }, - withAllowedOrganizations(value): { - allowedOrganizations: value, - }, - '#withAssertionAttributeEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user email.\nFriendly name or name of the attribute within the SAML assertion to use as the user email.' } }, - withAssertionAttributeEmail(value): { - assertionAttributeEmail: value, - }, - '#withAssertionAttributeGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user groups.\nFriendly name or name of the attribute within the SAML assertion to use as the user groups.' } }, - withAssertionAttributeGroups(value): { - assertionAttributeGroups: value, - }, - '#withAssertionAttributeLogin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user login handle.\nFriendly name or name of the attribute within the SAML assertion to use as the user login handle.' } }, - withAssertionAttributeLogin(value): { - assertionAttributeLogin: value, - }, - '#withAssertionAttributeName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user name. Alternatively, this can be a template with variables that match the names of attributes within the SAML assertion.\nFriendly name or name of the attribute within the SAML assertion to use as the user name. Alternatively, this can be a template with variables that match the names of attributes within the SAML assertion.' } }, - withAssertionAttributeName(value): { - assertionAttributeName: value, - }, - '#withAssertionAttributeOrg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user organization.\nFriendly name or name of the attribute within the SAML assertion to use as the user organization.' } }, - withAssertionAttributeOrg(value): { - assertionAttributeOrg: value, - }, - '#withAssertionAttributeRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user roles.\nFriendly name or name of the attribute within the SAML assertion to use as the user roles.' } }, - withAssertionAttributeRole(value): { - assertionAttributeRole: value, - }, - '#withAutoLogin': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Log in automatically, skipping the login screen.\nWhether SAML auto login is enabled.' } }, - withAutoLogin(value=true): { - autoLogin: value, - }, - '#withCertificatePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Path for the SP X.509 certificate.\nPath for the SP X.509 certificate.' } }, - withCertificatePath(value): { - certificatePath: value, - }, - '#withCertificateSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'encoded string for the SP X.509 certificate.\nBase64-encoded string for the SP X.509 certificate.' } }, - withCertificateSecretRef(value): { - certificateSecretRef: value, - }, - '#withCertificateSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'encoded string for the SP X.509 certificate.\nBase64-encoded string for the SP X.509 certificate.' } }, - withCertificateSecretRefMixin(value): { - certificateSecretRef+: value, - }, - certificateSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - certificateSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - certificateSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - certificateSecretRef+: { - namespace: value, - }, - }, - }, - '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Define whether this configuration is enabled for the specified provider. Defaults to true.\nDefine whether this configuration is enabled for SAML. Defaults to `true`.' } }, - withEnabled(value=true): { - enabled: value, - }, - '#withIdpMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'encoded string for the IdP SAML metadata XML.\nBase64-encoded string for the IdP SAML metadata XML.' } }, - withIdpMetadata(value): { - idpMetadata: value, - }, - '#withIdpMetadataPath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Path for the IdP SAML metadata XML.\nPath for the IdP SAML metadata XML.' } }, - withIdpMetadataPath(value): { - idpMetadataPath: value, - }, - '#withIdpMetadataUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) URL for the IdP SAML metadata XML.\nURL for the IdP SAML metadata XML.' } }, - withIdpMetadataUrl(value): { - idpMetadataUrl: value, - }, - '#withMaxIssueDelay': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Duration, since the IdP issued a response and the SP is allowed to process it. For example: 90s, 1h.\nDuration, since the IdP issued a response and the SP is allowed to process it. For example: 90s, 1h.' } }, - withMaxIssueDelay(value): { - maxIssueDelay: value, - }, - '#withMetadataValidDuration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Duration, for how long the SP metadata is valid. For example: 48h, 5d.\nDuration, for how long the SP metadata is valid. For example: 48h, 5d.' } }, - withMetadataValidDuration(value): { - metadataValidDuration: value, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Helpful if you use more than one identity providers or SSO protocols.\nName used to refer to the SAML authentication.' } }, - withName(value): { - name: value, - }, - '#withNameIdFormat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'format:transient\nThe Name ID Format to request within the SAML assertion. Defaults to urn:oasis:names:tc:SAML:2.0:nameid-format:transient' } }, - withNameIdFormat(value): { - nameIdFormat: value, - }, - '#withOrgMapping': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated Organization:OrgId:Role mappings. Organization can be * meaning “All users”. Role is optional and can have the following values: Viewer, Editor or Admin.\nList of comma- or space-separated Organization:OrgId:Role mappings. Organization can be * meaning “All users”. Role is optional and can have the following values: Viewer, Editor or Admin.' } }, - withOrgMapping(value): { - orgMapping: value, - }, - '#withPrivateKeyPath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Path for the SP private key.\nPath for the SP private key.' } }, - withPrivateKeyPath(value): { - privateKeyPath: value, - }, - '#withPrivateKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'encoded string for the SP private key.\nBase64-encoded string for the SP private key.' } }, - withPrivateKeySecretRef(value): { - privateKeySecretRef: value, - }, - '#withPrivateKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'encoded string for the SP private key.\nBase64-encoded string for the SP private key.' } }, - withPrivateKeySecretRefMixin(value): { - privateKeySecretRef+: value, - }, - privateKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - privateKeySecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - privateKeySecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - privateKeySecretRef+: { - namespace: value, - }, - }, - }, - '#withRelayState': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'initiated login. Should match relay state configured in IdP.\nRelay state for IdP-initiated login. Should match relay state configured in IdP.' } }, - withRelayState(value): { - relayState: value, - }, - '#withRoleValuesAdmin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated roles which will be mapped into the Admin role.\nList of comma- or space-separated roles which will be mapped into the Admin role.' } }, - withRoleValuesAdmin(value): { - roleValuesAdmin: value, - }, - '#withRoleValuesEditor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated roles which will be mapped into the Editor role.\nList of comma- or space-separated roles which will be mapped into the Editor role.' } }, - withRoleValuesEditor(value): { - roleValuesEditor: value, - }, - '#withRoleValuesGrafanaAdmin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated roles which will be mapped into the Grafana Admin (Super Admin) role.\nList of comma- or space-separated roles which will be mapped into the Grafana Admin (Super Admin) role.' } }, - withRoleValuesGrafanaAdmin(value): { - roleValuesGrafanaAdmin: value, - }, - '#withRoleValuesNone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated roles which will be mapped into the None role.\nList of comma- or space-separated roles which will be mapped into the None role.' } }, - withRoleValuesNone(value): { - roleValuesNone: value, - }, - '#withRoleValuesViewer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated roles which will be mapped into the Viewer role.\nList of comma- or space-separated roles which will be mapped into the Viewer role.' } }, - withRoleValuesViewer(value): { - roleValuesViewer: value, - }, - '#withSignatureAlgorithm': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sha1, rsa-sha256, rsa-sha512.\nSignature algorithm used for signing requests to the IdP. Supported values are rsa-sha1, rsa-sha256, rsa-sha512.' } }, - withSignatureAlgorithm(value): { - signatureAlgorithm: value, - }, - '#withSingleLogout': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether SAML Single Logout is enabled.\nWhether SAML Single Logout is enabled.' } }, - withSingleLogout(value=true): { - singleLogout: value, - }, - '#withSkipOrgRoleSync': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Prevent synchronizing users’ organization roles from your IdP.\nPrevent synchronizing users’ organization roles from your IdP.' } }, - withSkipOrgRoleSync(value=true): { - skipOrgRoleSync: value, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withOauth2Settings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) The OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers. (see below for nested schema)\nThe OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers.' } }, - withOauth2Settings(value): { - spec+: { - parameters+: { - initProvider+: { - oauth2Settings: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withOauth2SettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) The OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers. (see below for nested schema)\nThe OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers.' } }, - withOauth2SettingsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - oauth2Settings+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - oauth2Settings+: - { - '#': { help: '', name: 'oauth2Settings' }, - '#withAllowAssignGrafanaAdmin': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, it will automatically sync the Grafana server administrator role.\nIf enabled, it will automatically sync the Grafana server administrator role.' } }, - withAllowAssignGrafanaAdmin(value=true): { - allowAssignGrafanaAdmin: value, - }, - '#withAllowSignUp': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If not enabled, only existing Grafana users can log in using OAuth.\nIf not enabled, only existing Grafana users can log in using OAuth.' } }, - withAllowSignUp(value=true): { - allowSignUp: value, - }, - '#withAllowedDomains': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated domains. The user should belong to at least one domain to log in.\nList of comma- or space-separated domains. The user should belong to at least one domain to log in.' } }, - withAllowedDomains(value): { - allowedDomains: value, - }, - '#withAllowedGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated groups. The user should be a member of at least one group to log in. For Generic OAuth, if you configure allowed_groups, you must also configure groups_attribute_path.\nList of comma- or space-separated groups. The user should be a member of at least one group to log in. For Generic OAuth, if you configure allowed_groups, you must also configure groups_attribute_path.' } }, - withAllowedGroups(value): { - allowedGroups: value, - }, - '#withAllowedOrganizations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated organizations. The user should be a member of at least one organization to log in.\nList of comma- or space-separated organizations. The user should be a member of at least one organization to log in.' } }, - withAllowedOrganizations(value): { - allowedOrganizations: value, - }, - '#withApiUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The user information endpoint of your OAuth2 provider. Required for okta and generic_oauth providers.\nThe user information endpoint of your OAuth2 provider. Required for okta and generic_oauth providers.' } }, - withApiUrl(value): { - apiUrl: value, - }, - '#withAuthStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) It determines how client_id and client_secret are sent to Oauth2 provider. Possible values are AutoDetect, InParams, InHeader. Default is AutoDetect.\nIt determines how client_id and client_secret are sent to Oauth2 provider. Possible values are AutoDetect, InParams, InHeader. Default is AutoDetect.' } }, - withAuthStyle(value): { - authStyle: value, - }, - '#withAuthUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The authorization endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.\nThe authorization endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.' } }, - withAuthUrl(value): { - authUrl: value, - }, - '#withAutoLogin': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Log in automatically, skipping the login screen.\nLog in automatically, skipping the login screen.' } }, - withAutoLogin(value=true): { - autoLogin: value, - }, - '#withClientId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The client Id of your OAuth2 app.\nThe client Id of your OAuth2 app.' } }, - withClientId(value): { - clientId: value, - }, - '#withClientSecretSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The client secret of your OAuth2 app.\nThe client secret of your OAuth2 app.' } }, - withClientSecretSecretRef(value): { - clientSecretSecretRef: value, - }, - '#withClientSecretSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The client secret of your OAuth2 app.\nThe client secret of your OAuth2 app.' } }, - withClientSecretSecretRefMixin(value): { - clientSecretSecretRef+: value, - }, - clientSecretSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - clientSecretSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - clientSecretSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - clientSecretSecretRef+: { - namespace: value, - }, - }, - }, - '#withCustom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Custom fields to configure for OAuth2 such as the force_use_graph_api field.\nCustom fields to configure for OAuth2 such as the [force_use_graph_api](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/azuread/#force-fetching-groups-from-microsoft-graph-api) field.' } }, - withCustom(value): { - custom: value, - }, - '#withCustomMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Custom fields to configure for OAuth2 such as the force_use_graph_api field.\nCustom fields to configure for OAuth2 such as the [force_use_graph_api](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/azuread/#force-fetching-groups-from-microsoft-graph-api) field.' } }, - withCustomMixin(value): { - custom+: value, - }, - '#withDefineAllowedGroups': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Define allowed groups.\nDefine allowed groups.' } }, - withDefineAllowedGroups(value=true): { - defineAllowedGroups: value, - }, - '#withDefineAllowedTeamsIds': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Define allowed teams ids.\nDefine allowed teams ids.' } }, - withDefineAllowedTeamsIds(value=true): { - defineAllowedTeamsIds: value, - }, - '#withEmailAttributeName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the key to use for user email lookup within the attributes map of OAuth2 ID token. Only applicable to Generic OAuth.\nName of the key to use for user email lookup within the attributes map of OAuth2 ID token. Only applicable to Generic OAuth.' } }, - withEmailAttributeName(value): { - emailAttributeName: value, - }, - '#withEmailAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) JMESPath expression to use for user email lookup from the user information. Only applicable to Generic OAuth.\nJMESPath expression to use for user email lookup from the user information. Only applicable to Generic OAuth.' } }, - withEmailAttributePath(value): { - emailAttributePath: value, - }, - '#withEmptyScopes': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, no scopes will be sent to the OAuth2 provider.\nIf enabled, no scopes will be sent to the OAuth2 provider.' } }, - withEmptyScopes(value=true): { - emptyScopes: value, - }, - '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Define whether this configuration is enabled for the specified provider. Defaults to true.\nDefine whether this configuration is enabled for the specified provider. Defaults to `true`.' } }, - withEnabled(value=true): { - enabled: value, - }, - '#withGroupsAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) JMESPath expression to use for user group lookup. If you configure allowed_groups, you must also configure groups_attribute_path.\nJMESPath expression to use for user group lookup. If you configure allowed_groups, you must also configure groups_attribute_path.' } }, - withGroupsAttributePath(value): { - groupsAttributePath: value, - }, - '#withIdTokenAttributeName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the key used to extract the ID token from the returned OAuth2 token. Only applicable to Generic OAuth.\nThe name of the key used to extract the ID token from the returned OAuth2 token. Only applicable to Generic OAuth.' } }, - withIdTokenAttributeName(value): { - idTokenAttributeName: value, - }, - '#withLoginAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) JMESPath expression to use for user login lookup from the user ID token. Only applicable to Generic OAuth.\nJMESPath expression to use for user login lookup from the user ID token. Only applicable to Generic OAuth.' } }, - withLoginAttributePath(value): { - loginAttributePath: value, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Helpful if you use more than one identity providers or SSO protocols.\nHelpful if you use more than one identity providers or SSO protocols.' } }, - withName(value): { - name: value, - }, - '#withNameAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) JMESPath expression to use for user name lookup from the user ID token. This name will be used as the user’s display name. Only applicable to Generic OAuth.\nJMESPath expression to use for user name lookup from the user ID token. This name will be used as the user’s display name. Only applicable to Generic OAuth.' } }, - withNameAttributePath(value): { - nameAttributePath: value, - }, - '#withRoleAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) JMESPath expression to use for Grafana role lookup.\nJMESPath expression to use for Grafana role lookup.' } }, - withRoleAttributePath(value): { - roleAttributePath: value, - }, - '#withRoleAttributeStrict': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, denies user login if the Grafana role cannot be extracted using Role attribute path.\nIf enabled, denies user login if the Grafana role cannot be extracted using Role attribute path.' } }, - withRoleAttributeStrict(value=true): { - roleAttributeStrict: value, - }, - '#withScopes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated OAuth2 scopes.\nList of comma- or space-separated OAuth2 scopes.' } }, - withScopes(value): { - scopes: value, - }, - '#withSignoutRedirectUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL to redirect the user to after signing out from Grafana.\nThe URL to redirect the user to after signing out from Grafana.' } }, - withSignoutRedirectUrl(value): { - signoutRedirectUrl: value, - }, - '#withSkipOrgRoleSync': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Prevent synchronizing users’ organization roles from your IdP.\nPrevent synchronizing users’ organization roles from your IdP.' } }, - withSkipOrgRoleSync(value=true): { - skipOrgRoleSync: value, - }, - '#withTeamIds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) String list of Team Ids. If set, the user must be a member of one of the given teams to log in. If you configure team_ids, you must also configure teams_url and team_ids_attribute_path.\nString list of Team Ids. If set, the user must be a member of one of the given teams to log in. If you configure team_ids, you must also configure teams_url and team_ids_attribute_path.' } }, - withTeamIds(value): { - teamIds: value, - }, - '#withTeamIdsAttributePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The JMESPath expression to use for Grafana Team Id lookup within the results returned by the teams_url endpoint. Only applicable to Generic OAuth.\nThe JMESPath expression to use for Grafana Team Id lookup within the results returned by the teams_url endpoint. Only applicable to Generic OAuth.' } }, - withTeamIdsAttributePath(value): { - teamIdsAttributePath: value, - }, - '#withTeamsUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL used to query for Team Ids. If not set, the default value is /teams. If you configure teams_url, you must also configure team_ids_attribute_path. Only applicable to Generic OAuth.\nThe URL used to query for Team Ids. If not set, the default value is /teams. If you configure teams_url, you must also configure team_ids_attribute_path. Only applicable to Generic OAuth.' } }, - withTeamsUrl(value): { - teamsUrl: value, - }, - '#withTlsClientCa': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The path to the trusted certificate authority list. Is not applicable on Grafana Cloud.\nThe path to the trusted certificate authority list. Is not applicable on Grafana Cloud.' } }, - withTlsClientCa(value): { - tlsClientCa: value, - }, - '#withTlsClientCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The path to the certificate. Is not applicable on Grafana Cloud.\nThe path to the certificate. Is not applicable on Grafana Cloud.' } }, - withTlsClientCert(value): { - tlsClientCert: value, - }, - '#withTlsClientKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The path to the key. Is not applicable on Grafana Cloud.\nThe path to the key. Is not applicable on Grafana Cloud.' } }, - withTlsClientKey(value): { - tlsClientKey: value, - }, - '#withTlsSkipVerifyInsecure': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'in-the-middle attacks.\nIf enabled, the client accepts any certificate presented by the server and any host name in that certificate. You should only use this for testing, because this mode leaves SSL/TLS susceptible to man-in-the-middle attacks.' } }, - withTlsSkipVerifyInsecure(value=true): { - tlsSkipVerifyInsecure: value, - }, - '#withTokenUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The token endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.\nThe token endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.' } }, - withTokenUrl(value): { - tokenUrl: value, - }, - '#withUsePkce': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, Grafana will use Proof Key for Code Exchange (PKCE) with the OAuth2 Authorization Code Grant.\nIf enabled, Grafana will use Proof Key for Code Exchange (PKCE) with the OAuth2 Authorization Code Grant.' } }, - withUsePkce(value=true): { - usePkce: value, - }, - '#withUseRefreshToken': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, Grafana will fetch a new access token using the refresh token provided by the OAuth2 provider.\nIf enabled, Grafana will fetch a new access token using the refresh token provided by the OAuth2 provider.' } }, - withUseRefreshToken(value=true): { - useRefreshToken: value, - }, - }, - '#withProviderName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the SSO provider. Supported values: github, gitlab, google, azuread, okta, generic_oauth, saml.\nThe name of the SSO provider. Supported values: github, gitlab, google, azuread, okta, generic_oauth, saml.' } }, - withProviderName(value): { - spec+: { - parameters+: { - initProvider+: { - providerName: value, - }, - }, - }, - }, - '#withSamlSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) The SAML settings set. Required for the saml provider. (see below for nested schema)\nThe SAML settings set. Required for the saml provider.' } }, - withSamlSettings(value): { - spec+: { - parameters+: { - initProvider+: { - samlSettings: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withSamlSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) The SAML settings set. Required for the saml provider. (see below for nested schema)\nThe SAML settings set. Required for the saml provider.' } }, - withSamlSettingsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - samlSettings+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - samlSettings+: - { - '#': { help: '', name: 'samlSettings' }, - '#withAllowIdpInitiated': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'initiated login is allowed.\nWhether SAML IdP-initiated login is allowed.' } }, - withAllowIdpInitiated(value=true): { - allowIdpInitiated: value, - }, - '#withAllowSignUp': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If not enabled, only existing Grafana users can log in using OAuth.\nWhether to allow new Grafana user creation through SAML login. If set to false, then only existing Grafana users can log in with SAML.' } }, - withAllowSignUp(value=true): { - allowSignUp: value, - }, - '#withAllowedOrganizations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated organizations. The user should be a member of at least one organization to log in.\nList of comma- or space-separated organizations. User should be a member of at least one organization to log in.' } }, - withAllowedOrganizations(value): { - allowedOrganizations: value, - }, - '#withAssertionAttributeEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user email.\nFriendly name or name of the attribute within the SAML assertion to use as the user email.' } }, - withAssertionAttributeEmail(value): { - assertionAttributeEmail: value, - }, - '#withAssertionAttributeGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user groups.\nFriendly name or name of the attribute within the SAML assertion to use as the user groups.' } }, - withAssertionAttributeGroups(value): { - assertionAttributeGroups: value, - }, - '#withAssertionAttributeLogin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user login handle.\nFriendly name or name of the attribute within the SAML assertion to use as the user login handle.' } }, - withAssertionAttributeLogin(value): { - assertionAttributeLogin: value, - }, - '#withAssertionAttributeName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user name. Alternatively, this can be a template with variables that match the names of attributes within the SAML assertion.\nFriendly name or name of the attribute within the SAML assertion to use as the user name. Alternatively, this can be a template with variables that match the names of attributes within the SAML assertion.' } }, - withAssertionAttributeName(value): { - assertionAttributeName: value, - }, - '#withAssertionAttributeOrg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user organization.\nFriendly name or name of the attribute within the SAML assertion to use as the user organization.' } }, - withAssertionAttributeOrg(value): { - assertionAttributeOrg: value, - }, - '#withAssertionAttributeRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Friendly name or name of the attribute within the SAML assertion to use as the user roles.\nFriendly name or name of the attribute within the SAML assertion to use as the user roles.' } }, - withAssertionAttributeRole(value): { - assertionAttributeRole: value, - }, - '#withAutoLogin': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Log in automatically, skipping the login screen.\nWhether SAML auto login is enabled.' } }, - withAutoLogin(value=true): { - autoLogin: value, - }, - '#withCertificatePath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Path for the SP X.509 certificate.\nPath for the SP X.509 certificate.' } }, - withCertificatePath(value): { - certificatePath: value, - }, - '#withCertificateSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'encoded string for the SP X.509 certificate.\nBase64-encoded string for the SP X.509 certificate.' } }, - withCertificateSecretRef(value): { - certificateSecretRef: value, - }, - '#withCertificateSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'encoded string for the SP X.509 certificate.\nBase64-encoded string for the SP X.509 certificate.' } }, - withCertificateSecretRefMixin(value): { - certificateSecretRef+: value, - }, - certificateSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - certificateSecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - certificateSecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - certificateSecretRef+: { - namespace: value, - }, - }, - }, - '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Define whether this configuration is enabled for the specified provider. Defaults to true.\nDefine whether this configuration is enabled for SAML. Defaults to `true`.' } }, - withEnabled(value=true): { - enabled: value, - }, - '#withIdpMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'encoded string for the IdP SAML metadata XML.\nBase64-encoded string for the IdP SAML metadata XML.' } }, - withIdpMetadata(value): { - idpMetadata: value, - }, - '#withIdpMetadataPath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Path for the IdP SAML metadata XML.\nPath for the IdP SAML metadata XML.' } }, - withIdpMetadataPath(value): { - idpMetadataPath: value, - }, - '#withIdpMetadataUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) URL for the IdP SAML metadata XML.\nURL for the IdP SAML metadata XML.' } }, - withIdpMetadataUrl(value): { - idpMetadataUrl: value, - }, - '#withMaxIssueDelay': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Duration, since the IdP issued a response and the SP is allowed to process it. For example: 90s, 1h.\nDuration, since the IdP issued a response and the SP is allowed to process it. For example: 90s, 1h.' } }, - withMaxIssueDelay(value): { - maxIssueDelay: value, - }, - '#withMetadataValidDuration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Duration, for how long the SP metadata is valid. For example: 48h, 5d.\nDuration, for how long the SP metadata is valid. For example: 48h, 5d.' } }, - withMetadataValidDuration(value): { - metadataValidDuration: value, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Helpful if you use more than one identity providers or SSO protocols.\nName used to refer to the SAML authentication.' } }, - withName(value): { - name: value, - }, - '#withNameIdFormat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'format:transient\nThe Name ID Format to request within the SAML assertion. Defaults to urn:oasis:names:tc:SAML:2.0:nameid-format:transient' } }, - withNameIdFormat(value): { - nameIdFormat: value, - }, - '#withOrgMapping': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated Organization:OrgId:Role mappings. Organization can be * meaning “All users”. Role is optional and can have the following values: Viewer, Editor or Admin.\nList of comma- or space-separated Organization:OrgId:Role mappings. Organization can be * meaning “All users”. Role is optional and can have the following values: Viewer, Editor or Admin.' } }, - withOrgMapping(value): { - orgMapping: value, - }, - '#withPrivateKeyPath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Path for the SP private key.\nPath for the SP private key.' } }, - withPrivateKeyPath(value): { - privateKeyPath: value, - }, - '#withPrivateKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'encoded string for the SP private key.\nBase64-encoded string for the SP private key.' } }, - withPrivateKeySecretRef(value): { - privateKeySecretRef: value, - }, - '#withPrivateKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'encoded string for the SP private key.\nBase64-encoded string for the SP private key.' } }, - withPrivateKeySecretRefMixin(value): { - privateKeySecretRef+: value, - }, - privateKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - privateKeySecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - privateKeySecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - privateKeySecretRef+: { - namespace: value, - }, - }, - }, - '#withRelayState': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'initiated login. Should match relay state configured in IdP.\nRelay state for IdP-initiated login. Should match relay state configured in IdP.' } }, - withRelayState(value): { - relayState: value, - }, - '#withRoleValuesAdmin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated roles which will be mapped into the Admin role.\nList of comma- or space-separated roles which will be mapped into the Admin role.' } }, - withRoleValuesAdmin(value): { - roleValuesAdmin: value, - }, - '#withRoleValuesEditor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated roles which will be mapped into the Editor role.\nList of comma- or space-separated roles which will be mapped into the Editor role.' } }, - withRoleValuesEditor(value): { - roleValuesEditor: value, - }, - '#withRoleValuesGrafanaAdmin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated roles which will be mapped into the Grafana Admin (Super Admin) role.\nList of comma- or space-separated roles which will be mapped into the Grafana Admin (Super Admin) role.' } }, - withRoleValuesGrafanaAdmin(value): { - roleValuesGrafanaAdmin: value, - }, - '#withRoleValuesNone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated roles which will be mapped into the None role.\nList of comma- or space-separated roles which will be mapped into the None role.' } }, - withRoleValuesNone(value): { - roleValuesNone: value, - }, - '#withRoleValuesViewer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'or space-separated roles which will be mapped into the Viewer role.\nList of comma- or space-separated roles which will be mapped into the Viewer role.' } }, - withRoleValuesViewer(value): { - roleValuesViewer: value, - }, - '#withSignatureAlgorithm': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'sha1, rsa-sha256, rsa-sha512.\nSignature algorithm used for signing requests to the IdP. Supported values are rsa-sha1, rsa-sha256, rsa-sha512.' } }, - withSignatureAlgorithm(value): { - signatureAlgorithm: value, - }, - '#withSingleLogout': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether SAML Single Logout is enabled.\nWhether SAML Single Logout is enabled.' } }, - withSingleLogout(value=true): { - singleLogout: value, - }, - '#withSkipOrgRoleSync': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Prevent synchronizing users’ organization roles from your IdP.\nPrevent synchronizing users’ organization roles from your IdP.' } }, - withSkipOrgRoleSync(value=true): { - skipOrgRoleSync: value, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - team+: - { - '#': { help: '', name: 'team' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'Team', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TeamSpec defines the desired state of Team' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TeamSpec defines the desired state of Team' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) An email address for the team.\nAn email address for the team.' } }, - withEmail(value): { - spec+: { - parameters+: { - forProvider+: { - email: value, - }, - }, - }, - }, - '#withIgnoreExternallySyncedMembers': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Ignores team members that have been added to team by Team Sync.\nTeam Sync can be provisioned using grafana_team_external_group resource.\nDefaults to true.\nIgnores team members that have been added to team by [Team Sync](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/).\nTeam Sync can be provisioned using [grafana_team_external_group resource](https://registry.io/providers/grafana/grafana/latest/docs/resources/team_external_group).\nDefaults to `true`.' } }, - withIgnoreExternallySyncedMembers(value=true): { - spec+: { - parameters+: { - forProvider+: { - ignoreExternallySyncedMembers: value, - }, - }, - }, - }, - '#withMemberRefs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to User in oss to populate members.' } }, - withMemberRefs(value): { - spec+: { - parameters+: { - forProvider+: { - memberRefs: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withMemberRefsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to User in oss to populate members.' } }, - withMemberRefsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - memberRefs+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - memberRefs+: - { - '#': { help: '', name: 'memberRefs' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - name: value, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - policy: value, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - policy+: value, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - policy+: { - resolution: value, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - policy+: { - resolve: value, - }, - }, - }, - }, - '#withMemberSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of User in oss to populate members.' } }, - withMemberSelector(value): { - spec+: { - parameters+: { - forProvider+: { - memberSelector: value, - }, - }, - }, - }, - '#withMemberSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of User in oss to populate members.' } }, - withMemberSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - memberSelector+: value, - }, - }, - }, - }, - memberSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - memberSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - memberSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - memberSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - memberSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - memberSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - memberSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - memberSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMembers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) A set of email addresses corresponding to users who should be given membership\nto the team. Note: users specified here must already exist in Grafana.\nA set of email addresses corresponding to users who should be given membership\nto the team. Note: users specified here must already exist in Grafana.' } }, - withMembers(value): { - spec+: { - parameters+: { - forProvider+: { - members: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withMembersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) A set of email addresses corresponding to users who should be given membership\nto the team. Note: users specified here must already exist in Grafana.\nA set of email addresses corresponding to users who should be given membership\nto the team. Note: users specified here must already exist in Grafana.' } }, - withMembersMixin(value): { - spec+: { - parameters+: { - forProvider+: { - members+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The display name for the Grafana team created.\nThe display name for the Grafana team created.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - forProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withPreferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, - withPreferences(value): { - spec+: { - parameters+: { - forProvider+: { - preferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPreferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, - withPreferencesMixin(value): { - spec+: { - parameters+: { - forProvider+: { - preferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - preferences+: - { - '#': { help: '', name: 'preferences' }, - '#withHomeDashboardUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The UID of the dashboard to display when a team member logs in. Defaults to “.\nThe UID of the dashboard to display when a team member logs in. Defaults to “.' } }, - withHomeDashboardUid(value): { - homeDashboardUid: value, - }, - '#withTheme': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default theme for this team. Available themes are light, dark, system, or an empty string for the default theme. Defaults to “.\nThe default theme for this team. Available themes are `light`, `dark`, `system`, or an empty string for the default theme. Defaults to “.' } }, - withTheme(value): { - theme: value, - }, - '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default timezone for this team. Available values are utc, browser, or an empty string for the default. Defaults to “.\nThe default timezone for this team. Available values are `utc`, `browser`, or an empty string for the default. Defaults to “.' } }, - withTimezone(value): { - timezone: value, - }, - '#withWeekStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default week start day for this team. Available values are sunday, monday, saturday, or an empty string for the default. Defaults to “.\nThe default week start day for this team. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default. Defaults to “.' } }, - withWeekStart(value): { - weekStart: value, - }, - }, - '#withTeamSync': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Sync external auth provider groups with this Grafana team. Only available in Grafana Enterprise.\nSync external auth provider groups with this Grafana team. Only available in Grafana Enterprise.\n* [Official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team_sync/)' } }, - withTeamSync(value): { - spec+: { - parameters+: { - forProvider+: { - teamSync: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withTeamSyncMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Sync external auth provider groups with this Grafana team. Only available in Grafana Enterprise.\nSync external auth provider groups with this Grafana team. Only available in Grafana Enterprise.\n* [Official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team_sync/)' } }, - withTeamSyncMixin(value): { - spec+: { - parameters+: { - forProvider+: { - teamSync+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - teamSync+: - { - '#': { help: '', name: 'teamSync' }, - '#withGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String)' } }, - withGroups(value): { - groups: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String)' } }, - withGroupsMixin(value): { - groups+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) An email address for the team.\nAn email address for the team.' } }, - withEmail(value): { - spec+: { - parameters+: { - initProvider+: { - email: value, - }, - }, - }, - }, - '#withIgnoreExternallySyncedMembers': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Ignores team members that have been added to team by Team Sync.\nTeam Sync can be provisioned using grafana_team_external_group resource.\nDefaults to true.\nIgnores team members that have been added to team by [Team Sync](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/).\nTeam Sync can be provisioned using [grafana_team_external_group resource](https://registry.io/providers/grafana/grafana/latest/docs/resources/team_external_group).\nDefaults to `true`.' } }, - withIgnoreExternallySyncedMembers(value=true): { - spec+: { - parameters+: { - initProvider+: { - ignoreExternallySyncedMembers: value, - }, - }, - }, - }, - '#withMemberRefs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to User in oss to populate members.' } }, - withMemberRefs(value): { - spec+: { - parameters+: { - initProvider+: { - memberRefs: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withMemberRefsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'References to User in oss to populate members.' } }, - withMemberRefsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - memberRefs+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - memberRefs+: - { - '#': { help: '', name: 'memberRefs' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - name: value, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - policy: value, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - policy+: value, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - policy+: { - resolution: value, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - policy+: { - resolve: value, - }, - }, - }, - }, - '#withMemberSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of User in oss to populate members.' } }, - withMemberSelector(value): { - spec+: { - parameters+: { - initProvider+: { - memberSelector: value, - }, - }, - }, - }, - '#withMemberSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a list of User in oss to populate members.' } }, - withMemberSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - memberSelector+: value, - }, - }, - }, - }, - memberSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - memberSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - memberSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - memberSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - memberSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - memberSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - memberSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - memberSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMembers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) A set of email addresses corresponding to users who should be given membership\nto the team. Note: users specified here must already exist in Grafana.\nA set of email addresses corresponding to users who should be given membership\nto the team. Note: users specified here must already exist in Grafana.' } }, - withMembers(value): { - spec+: { - parameters+: { - initProvider+: { - members: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withMembersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) A set of email addresses corresponding to users who should be given membership\nto the team. Note: users specified here must already exist in Grafana.\nA set of email addresses corresponding to users who should be given membership\nto the team. Note: users specified here must already exist in Grafana.' } }, - withMembersMixin(value): { - spec+: { - parameters+: { - initProvider+: { - members+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The display name for the Grafana team created.\nThe display name for the Grafana team created.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used.' } }, - withOrgId(value): { - spec+: { - parameters+: { - initProvider+: { - orgId: value, - }, - }, - }, - }, - '#withOrganizationRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRef(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef: value, - }, - }, - }, - }, - '#withOrganizationRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Organization in oss to populate orgId.' } }, - withOrganizationRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: value, - }, - }, - }, - }, - organizationRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withOrganizationSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelector(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector: value, - }, - }, - }, - }, - '#withOrganizationSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Organization in oss to populate orgId.' } }, - withOrganizationSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: value, - }, - }, - }, - }, - organizationSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - organizationSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withPreferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, - withPreferences(value): { - spec+: { - parameters+: { - initProvider+: { - preferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withPreferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, - withPreferencesMixin(value): { - spec+: { - parameters+: { - initProvider+: { - preferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - preferences+: - { - '#': { help: '', name: 'preferences' }, - '#withHomeDashboardUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The UID of the dashboard to display when a team member logs in. Defaults to “.\nThe UID of the dashboard to display when a team member logs in. Defaults to “.' } }, - withHomeDashboardUid(value): { - homeDashboardUid: value, - }, - '#withTheme': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default theme for this team. Available themes are light, dark, system, or an empty string for the default theme. Defaults to “.\nThe default theme for this team. Available themes are `light`, `dark`, `system`, or an empty string for the default theme. Defaults to “.' } }, - withTheme(value): { - theme: value, - }, - '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default timezone for this team. Available values are utc, browser, or an empty string for the default. Defaults to “.\nThe default timezone for this team. Available values are `utc`, `browser`, or an empty string for the default. Defaults to “.' } }, - withTimezone(value): { - timezone: value, - }, - '#withWeekStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The default week start day for this team. Available values are sunday, monday, saturday, or an empty string for the default. Defaults to “.\nThe default week start day for this team. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default. Defaults to “.' } }, - withWeekStart(value): { - weekStart: value, - }, - }, - '#withTeamSync': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Sync external auth provider groups with this Grafana team. Only available in Grafana Enterprise.\nSync external auth provider groups with this Grafana team. Only available in Grafana Enterprise.\n* [Official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team_sync/)' } }, - withTeamSync(value): { - spec+: { - parameters+: { - initProvider+: { - teamSync: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withTeamSyncMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Sync external auth provider groups with this Grafana team. Only available in Grafana Enterprise.\nSync external auth provider groups with this Grafana team. Only available in Grafana Enterprise.\n* [Official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team_sync/)' } }, - withTeamSyncMixin(value): { - spec+: { - parameters+: { - initProvider+: { - teamSync+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - teamSync+: - { - '#': { help: '', name: 'teamSync' }, - '#withGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String)' } }, - withGroups(value): { - groups: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String)' } }, - withGroupsMixin(value): { - groups+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - user+: - { - '#': { help: '', name: 'user' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'oss.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'User', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'UserSpec defines the desired state of User' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'UserSpec defines the desired state of User' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The email address of the Grafana user.\nThe email address of the Grafana user.' } }, - withEmail(value): { - spec+: { - parameters+: { - forProvider+: { - email: value, - }, - }, - }, - }, - '#withIsAdmin': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to make user an admin. Defaults to false.\nWhether to make user an admin. Defaults to `false`.' } }, - withIsAdmin(value=true): { - spec+: { - parameters+: { - forProvider+: { - isAdmin: value, - }, - }, - }, - }, - '#withLogin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The username for the Grafana user.\nThe username for the Grafana user.' } }, - withLogin(value): { - spec+: { - parameters+: { - forProvider+: { - login: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The display name for the Grafana user.\nThe display name for the Grafana user.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password for the Grafana user.\nThe password for the Grafana user.' } }, - withPasswordSecretRef(value): { - spec+: { - parameters+: { - forProvider+: { - passwordSecretRef: value, - }, - }, - }, - }, - '#withPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password for the Grafana user.\nThe password for the Grafana user.' } }, - withPasswordSecretRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - passwordSecretRef+: value, - }, - }, - }, - }, - passwordSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - spec+: { - parameters+: { - forProvider+: { - passwordSecretRef+: { - key: value, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - passwordSecretRef+: { - name: value, - }, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - forProvider+: { - passwordSecretRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The email address of the Grafana user.\nThe email address of the Grafana user.' } }, - withEmail(value): { - spec+: { - parameters+: { - initProvider+: { - email: value, - }, - }, - }, - }, - '#withIsAdmin': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to make user an admin. Defaults to false.\nWhether to make user an admin. Defaults to `false`.' } }, - withIsAdmin(value=true): { - spec+: { - parameters+: { - initProvider+: { - isAdmin: value, - }, - }, - }, - }, - '#withLogin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The username for the Grafana user.\nThe username for the Grafana user.' } }, - withLogin(value): { - spec+: { - parameters+: { - initProvider+: { - login: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The display name for the Grafana user.\nThe display name for the Grafana user.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withPasswordSecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password for the Grafana user.\nThe password for the Grafana user.' } }, - withPasswordSecretRef(value): { - spec+: { - parameters+: { - initProvider+: { - passwordSecretRef: value, - }, - }, - }, - }, - '#withPasswordSecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The password for the Grafana user.\nThe password for the Grafana user.' } }, - withPasswordSecretRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - passwordSecretRef+: value, - }, - }, - }, - }, - passwordSecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - spec+: { - parameters+: { - initProvider+: { - passwordSecretRef+: { - key: value, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - passwordSecretRef+: { - name: value, - }, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - initProvider+: { - passwordSecretRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - }, - }, - slo+: - { - '#': { help: '', name: 'slo' }, - v1alpha1+: { - slo+: - { - '#': { help: '', name: 'slo' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'slo.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'SLO', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'SLOSpec defines the desired state of SLO' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'SLOSpec defines the desired state of SLO' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withAlerting': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'term error budget burn is very high, the\nlong-term error budget burn rate is high, or when the remaining\nerror budget is below a certain threshold. Annotations and Labels support templating. (see below for nested schema)\nConfigures the alerting rules that will be generated for each\ntime window associated with the SLO. Grafana SLOs can generate\nalerts when the short-term error budget burn is very high, the\nlong-term error budget burn rate is high, or when the remaining\nerror budget is below a certain threshold. Annotations and Labels support templating.' } }, - withAlerting(value): { - spec+: { - parameters+: { - forProvider+: { - alerting: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withAlertingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'term error budget burn is very high, the\nlong-term error budget burn rate is high, or when the remaining\nerror budget is below a certain threshold. Annotations and Labels support templating. (see below for nested schema)\nConfigures the alerting rules that will be generated for each\ntime window associated with the SLO. Grafana SLOs can generate\nalerts when the short-term error budget burn is very high, the\nlong-term error budget burn rate is high, or when the remaining\nerror budget is below a certain threshold. Annotations and Labels support templating.' } }, - withAlertingMixin(value): { - spec+: { - parameters+: { - forProvider+: { - alerting+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - alerting+: - { - '#': { help: '', name: 'alerting' }, - '#withAdvancedOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Advanced Options for Alert Rules (see below for nested schema)\nAdvanced Options for Alert Rules' } }, - withAdvancedOptions(value): { - advancedOptions: - (if std.isArray(value) - then value - else [value]), - }, - '#withAdvancedOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Advanced Options for Alert Rules (see below for nested schema)\nAdvanced Options for Alert Rules' } }, - withAdvancedOptionsMixin(value): { - advancedOptions+: - (if std.isArray(value) - then value - else [value]), - }, - advancedOptions+: - { - '#': { help: '', name: 'advancedOptions' }, - '#withMinFailures': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Minimum number of failed events to trigger an alert\nMinimum number of failed events to trigger an alert' } }, - withMinFailures(value): { - minFailures: value, - }, - }, - '#withAnnotation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations will be attached to all alerts generated by any of these rules.' } }, - withAnnotation(value): { - annotation: - (if std.isArray(value) - then value - else [value]), - }, - '#withAnnotationMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations will be attached to all alerts generated by any of these rules.' } }, - withAnnotationMixin(value): { - annotation+: - (if std.isArray(value) - then value - else [value]), - }, - annotation+: - { - '#': { help: '', name: 'annotation' }, - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withKey(value): { - key: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, - withValue(value): { - value: value, - }, - }, - '#withFastburn': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Alerting Rules generated for Fast Burn alerts (see below for nested schema)\nAlerting Rules generated for Fast Burn alerts' } }, - withFastburn(value): { - fastburn: - (if std.isArray(value) - then value - else [value]), - }, - '#withFastburnMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Alerting Rules generated for Fast Burn alerts (see below for nested schema)\nAlerting Rules generated for Fast Burn alerts' } }, - withFastburnMixin(value): { - fastburn+: - (if std.isArray(value) - then value - else [value]), - }, - fastburn+: - { - '#': { help: '', name: 'fastburn' }, - '#withAnnotation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations to attach only to Fast Burn alerts.' } }, - withAnnotation(value): { - annotation: - (if std.isArray(value) - then value - else [value]), - }, - '#withAnnotationMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations to attach only to Fast Burn alerts.' } }, - withAnnotationMixin(value): { - annotation+: - (if std.isArray(value) - then value - else [value]), - }, - annotation+: - { - '#': { help: '', name: 'annotation' }, - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withKey(value): { - key: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, - withValue(value): { - value: value, - }, - }, - '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels to attach only to Fast Burn alerts.' } }, - withLabel(value): { - label: - (if std.isArray(value) - then value - else [value]), - }, - '#withLabelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels to attach only to Fast Burn alerts.' } }, - withLabelMixin(value): { - label+: - (if std.isArray(value) - then value - else [value]), - }, - label+: - { - '#': { help: '', name: 'label' }, - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withKey(value): { - key: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, - withValue(value): { - value: value, - }, - }, - }, - '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels will be attached to all alerts generated by any of these rules.' } }, - withLabel(value): { - label: - (if std.isArray(value) - then value - else [value]), - }, - '#withLabelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels will be attached to all alerts generated by any of these rules.' } }, - withLabelMixin(value): { - label+: - (if std.isArray(value) - then value - else [value]), - }, - label+: - { - '#': { help: '', name: 'label' }, - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withKey(value): { - key: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, - withValue(value): { - value: value, - }, - }, - '#withSlowburn': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Alerting Rules generated for Slow Burn alerts (see below for nested schema)\nAlerting Rules generated for Slow Burn alerts' } }, - withSlowburn(value): { - slowburn: - (if std.isArray(value) - then value - else [value]), - }, - '#withSlowburnMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Alerting Rules generated for Slow Burn alerts (see below for nested schema)\nAlerting Rules generated for Slow Burn alerts' } }, - withSlowburnMixin(value): { - slowburn+: - (if std.isArray(value) - then value - else [value]), - }, - slowburn+: - { - '#': { help: '', name: 'slowburn' }, - '#withAnnotation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations to attach only to Slow Burn alerts.' } }, - withAnnotation(value): { - annotation: - (if std.isArray(value) - then value - else [value]), - }, - '#withAnnotationMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations to attach only to Slow Burn alerts.' } }, - withAnnotationMixin(value): { - annotation+: - (if std.isArray(value) - then value - else [value]), - }, - annotation+: - { - '#': { help: '', name: 'annotation' }, - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withKey(value): { - key: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, - withValue(value): { - value: value, - }, - }, - '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels to attach only to Slow Burn alerts.' } }, - withLabel(value): { - label: - (if std.isArray(value) - then value - else [value]), - }, - '#withLabelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels to attach only to Slow Burn alerts.' } }, - withLabelMixin(value): { - label+: - (if std.isArray(value) - then value - else [value]), - }, - label+: - { - '#': { help: '', name: 'label' }, - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withKey(value): { - key: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, - withValue(value): { - value: value, - }, - }, - }, - }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'text field that can provide more context to an SLO.\nDescription is a free-text field that can provide more context to an SLO.' } }, - withDescription(value): { - spec+: { - parameters+: { - forProvider+: { - description: value, - }, - }, - }, - }, - '#withDestinationDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema)\nDestination Datasource sets the datasource defined for an SLO' } }, - withDestinationDatasource(value): { - spec+: { - parameters+: { - forProvider+: { - destinationDatasource: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withDestinationDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema)\nDestination Datasource sets the datasource defined for an SLO' } }, - withDestinationDatasourceMixin(value): { - spec+: { - parameters+: { - forProvider+: { - destinationDatasource+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - destinationDatasource+: - { - '#': { help: '', name: 'destinationDatasource' }, - '#withRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate uid.' } }, - withRef(value): { - ref: value, - }, - '#withRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate uid.' } }, - withRefMixin(value): { - ref+: value, - }, - ref+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - ref+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - ref+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - ref+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - ref+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - ref+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate uid.' } }, - withSelector(value): { - selector: value, - }, - '#withSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate uid.' } }, - withSelectorMixin(value): { - selector+: value, - }, - selector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - selector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - selector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - selector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - selector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - selector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - selector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - selector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) UID for the Mimir Datasource\nUID for the Mimir Datasource' } }, - withUid(value): { - uid: value, - }, - }, - '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) UID for the SLO folder\nUID for the SLO folder' } }, - withFolderUid(value): { - spec+: { - parameters+: { - forProvider+: { - folderUid: value, - }, - }, - }, - }, - '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nAdditional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"' } }, - withLabel(value): { - spec+: { - parameters+: { - forProvider+: { - label: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withLabelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nAdditional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"' } }, - withLabelMixin(value): { - spec+: { - parameters+: { - forProvider+: { - label+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - label+: - { - '#': { help: '', name: 'label' }, - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withKey(value): { - key: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, - withValue(value): { - value: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name should be a short description of your indicator. Consider names like "API Availability"\nName should be a short description of your indicator. Consider names like "API Availability"' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withObjectives': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget. (see below for nested schema)\nOver each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.' } }, - withObjectives(value): { - spec+: { - parameters+: { - forProvider+: { - objectives: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withObjectivesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget. (see below for nested schema)\nOver each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.' } }, - withObjectivesMixin(value): { - spec+: { - parameters+: { - forProvider+: { - objectives+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - objectives+: - { - '#': { help: '', name: 'objectives' }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.\nValue between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, - withValue(value): { - value: value, - }, - '#withWindow': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'parsable time duration string like 24h, 60m. This is the time window the objective is measured over.\nA Prometheus-parsable time duration string like 24h, 60m. This is the time window the objective is measured over.' } }, - withWindow(value): { - window: value, - }, - }, - '#withQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported. (see below for nested schema)\nQuery describes the indicator that will be measured against the objective. Freeform Query types are currently supported.' } }, - withQuery(value): { - spec+: { - parameters+: { - forProvider+: { - query: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported. (see below for nested schema)\nQuery describes the indicator that will be measured against the objective. Freeform Query types are currently supported.' } }, - withQueryMixin(value): { - spec+: { - parameters+: { - forProvider+: { - query+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - query+: - { - '#': { help: '', name: 'query' }, - '#withFreeform': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, - withFreeform(value): { - freeform: - (if std.isArray(value) - then value - else [value]), - }, - '#withFreeformMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, - withFreeformMixin(value): { - freeform+: - (if std.isArray(value) - then value - else [value]), - }, - freeform+: - { - '#': { help: '', name: 'freeform' }, - '#withQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Block List, Min: 1) Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported. (see below for nested schema)\nFreeform Query Field' } }, - withQuery(value): { - query: value, - }, - }, - '#withRatio': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, - withRatio(value): { - ratio: - (if std.isArray(value) - then value - else [value]), - }, - '#withRatioMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, - withRatioMixin(value): { - ratio+: - (if std.isArray(value) - then value - else [value]), - }, - ratio+: - { - '#': { help: '', name: 'ratio' }, - '#withGroupByLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"\nDefines Group By Labels used for per-label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"' } }, - withGroupByLabels(value): { - groupByLabels: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupByLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"\nDefines Group By Labels used for per-label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"' } }, - withGroupByLabelsMixin(value): { - groupByLabels+: - (if std.isArray(value) - then value - else [value]), - }, - '#withSuccessMetric': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Counter metric for success events (numerator)\nCounter metric for success events (numerator)' } }, - withSuccessMetric(value): { - successMetric: value, - }, - '#withTotalMetric': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Metric for total events (denominator)\nMetric for total events (denominator)' } }, - withTotalMetric(value): { - totalMetric: value, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Query type must be one of: "freeform", "query", "ratio", or "threshold"\nQuery type must be one of: "freeform", "query", "ratio", or "threshold"' } }, - withType(value): { - type: value, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withAlerting': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'term error budget burn is very high, the\nlong-term error budget burn rate is high, or when the remaining\nerror budget is below a certain threshold. Annotations and Labels support templating. (see below for nested schema)\nConfigures the alerting rules that will be generated for each\ntime window associated with the SLO. Grafana SLOs can generate\nalerts when the short-term error budget burn is very high, the\nlong-term error budget burn rate is high, or when the remaining\nerror budget is below a certain threshold. Annotations and Labels support templating.' } }, - withAlerting(value): { - spec+: { - parameters+: { - initProvider+: { - alerting: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withAlertingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'term error budget burn is very high, the\nlong-term error budget burn rate is high, or when the remaining\nerror budget is below a certain threshold. Annotations and Labels support templating. (see below for nested schema)\nConfigures the alerting rules that will be generated for each\ntime window associated with the SLO. Grafana SLOs can generate\nalerts when the short-term error budget burn is very high, the\nlong-term error budget burn rate is high, or when the remaining\nerror budget is below a certain threshold. Annotations and Labels support templating.' } }, - withAlertingMixin(value): { - spec+: { - parameters+: { - initProvider+: { - alerting+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - alerting+: - { - '#': { help: '', name: 'alerting' }, - '#withAdvancedOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Advanced Options for Alert Rules (see below for nested schema)\nAdvanced Options for Alert Rules' } }, - withAdvancedOptions(value): { - advancedOptions: - (if std.isArray(value) - then value - else [value]), - }, - '#withAdvancedOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Advanced Options for Alert Rules (see below for nested schema)\nAdvanced Options for Alert Rules' } }, - withAdvancedOptionsMixin(value): { - advancedOptions+: - (if std.isArray(value) - then value - else [value]), - }, - advancedOptions+: - { - '#': { help: '', name: 'advancedOptions' }, - '#withMinFailures': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Minimum number of failed events to trigger an alert\nMinimum number of failed events to trigger an alert' } }, - withMinFailures(value): { - minFailures: value, - }, - }, - '#withAnnotation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations will be attached to all alerts generated by any of these rules.' } }, - withAnnotation(value): { - annotation: - (if std.isArray(value) - then value - else [value]), - }, - '#withAnnotationMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations will be attached to all alerts generated by any of these rules.' } }, - withAnnotationMixin(value): { - annotation+: - (if std.isArray(value) - then value - else [value]), - }, - annotation+: - { - '#': { help: '', name: 'annotation' }, - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withKey(value): { - key: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, - withValue(value): { - value: value, - }, - }, - '#withFastburn': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Alerting Rules generated for Fast Burn alerts (see below for nested schema)\nAlerting Rules generated for Fast Burn alerts' } }, - withFastburn(value): { - fastburn: - (if std.isArray(value) - then value - else [value]), - }, - '#withFastburnMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Alerting Rules generated for Fast Burn alerts (see below for nested schema)\nAlerting Rules generated for Fast Burn alerts' } }, - withFastburnMixin(value): { - fastburn+: - (if std.isArray(value) - then value - else [value]), - }, - fastburn+: - { - '#': { help: '', name: 'fastburn' }, - '#withAnnotation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations to attach only to Fast Burn alerts.' } }, - withAnnotation(value): { - annotation: - (if std.isArray(value) - then value - else [value]), - }, - '#withAnnotationMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations to attach only to Fast Burn alerts.' } }, - withAnnotationMixin(value): { - annotation+: - (if std.isArray(value) - then value - else [value]), - }, - annotation+: - { - '#': { help: '', name: 'annotation' }, - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withKey(value): { - key: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, - withValue(value): { - value: value, - }, - }, - '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels to attach only to Fast Burn alerts.' } }, - withLabel(value): { - label: - (if std.isArray(value) - then value - else [value]), - }, - '#withLabelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels to attach only to Fast Burn alerts.' } }, - withLabelMixin(value): { - label+: - (if std.isArray(value) - then value - else [value]), - }, - label+: - { - '#': { help: '', name: 'label' }, - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withKey(value): { - key: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, - withValue(value): { - value: value, - }, - }, - }, - '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels will be attached to all alerts generated by any of these rules.' } }, - withLabel(value): { - label: - (if std.isArray(value) - then value - else [value]), - }, - '#withLabelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels will be attached to all alerts generated by any of these rules.' } }, - withLabelMixin(value): { - label+: - (if std.isArray(value) - then value - else [value]), - }, - label+: - { - '#': { help: '', name: 'label' }, - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withKey(value): { - key: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, - withValue(value): { - value: value, - }, - }, - '#withSlowburn': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Alerting Rules generated for Slow Burn alerts (see below for nested schema)\nAlerting Rules generated for Slow Burn alerts' } }, - withSlowburn(value): { - slowburn: - (if std.isArray(value) - then value - else [value]), - }, - '#withSlowburnMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Alerting Rules generated for Slow Burn alerts (see below for nested schema)\nAlerting Rules generated for Slow Burn alerts' } }, - withSlowburnMixin(value): { - slowburn+: - (if std.isArray(value) - then value - else [value]), - }, - slowburn+: - { - '#': { help: '', name: 'slowburn' }, - '#withAnnotation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations to attach only to Slow Burn alerts.' } }, - withAnnotation(value): { - annotation: - (if std.isArray(value) - then value - else [value]), - }, - '#withAnnotationMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations to attach only to Slow Burn alerts.' } }, - withAnnotationMixin(value): { - annotation+: - (if std.isArray(value) - then value - else [value]), - }, - annotation+: - { - '#': { help: '', name: 'annotation' }, - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withKey(value): { - key: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, - withValue(value): { - value: value, - }, - }, - '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels to attach only to Slow Burn alerts.' } }, - withLabel(value): { - label: - (if std.isArray(value) - then value - else [value]), - }, - '#withLabelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels to attach only to Slow Burn alerts.' } }, - withLabelMixin(value): { - label+: - (if std.isArray(value) - then value - else [value]), - }, - label+: - { - '#': { help: '', name: 'label' }, - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withKey(value): { - key: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, - withValue(value): { - value: value, - }, - }, - }, - }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'text field that can provide more context to an SLO.\nDescription is a free-text field that can provide more context to an SLO.' } }, - withDescription(value): { - spec+: { - parameters+: { - initProvider+: { - description: value, - }, - }, - }, - }, - '#withDestinationDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema)\nDestination Datasource sets the datasource defined for an SLO' } }, - withDestinationDatasource(value): { - spec+: { - parameters+: { - initProvider+: { - destinationDatasource: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withDestinationDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema)\nDestination Datasource sets the datasource defined for an SLO' } }, - withDestinationDatasourceMixin(value): { - spec+: { - parameters+: { - initProvider+: { - destinationDatasource+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - destinationDatasource+: - { - '#': { help: '', name: 'destinationDatasource' }, - '#withRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate uid.' } }, - withRef(value): { - ref: value, - }, - '#withRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate uid.' } }, - withRefMixin(value): { - ref+: value, - }, - ref+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - ref+: { - name: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - ref+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - ref+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - ref+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - ref+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate uid.' } }, - withSelector(value): { - selector: value, - }, - '#withSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate uid.' } }, - withSelectorMixin(value): { - selector+: value, - }, - selector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - selector+: { - matchControllerRef: value, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - selector+: { - matchLabels: value, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - selector+: { - matchLabels+: value, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - selector+: { - policy: value, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - selector+: { - policy+: value, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - selector+: { - policy+: { - resolution: value, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - selector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) UID for the Mimir Datasource\nUID for the Mimir Datasource' } }, - withUid(value): { - uid: value, - }, - }, - '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) UID for the SLO folder\nUID for the SLO folder' } }, - withFolderUid(value): { - spec+: { - parameters+: { - initProvider+: { - folderUid: value, - }, - }, - }, - }, - '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nAdditional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"' } }, - withLabel(value): { - spec+: { - parameters+: { - initProvider+: { - label: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withLabelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nAdditional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"' } }, - withLabelMixin(value): { - spec+: { - parameters+: { - initProvider+: { - label+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - label+: - { - '#': { help: '', name: 'label' }, - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withKey(value): { - key: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, - withValue(value): { - value: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name should be a short description of your indicator. Consider names like "API Availability"\nName should be a short description of your indicator. Consider names like "API Availability"' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withObjectives': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget. (see below for nested schema)\nOver each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.' } }, - withObjectives(value): { - spec+: { - parameters+: { - initProvider+: { - objectives: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withObjectivesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget. (see below for nested schema)\nOver each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.' } }, - withObjectivesMixin(value): { - spec+: { - parameters+: { - initProvider+: { - objectives+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - objectives+: - { - '#': { help: '', name: 'objectives' }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.\nValue between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, - withValue(value): { - value: value, - }, - '#withWindow': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'parsable time duration string like 24h, 60m. This is the time window the objective is measured over.\nA Prometheus-parsable time duration string like 24h, 60m. This is the time window the objective is measured over.' } }, - withWindow(value): { - window: value, - }, - }, - '#withQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported. (see below for nested schema)\nQuery describes the indicator that will be measured against the objective. Freeform Query types are currently supported.' } }, - withQuery(value): { - spec+: { - parameters+: { - initProvider+: { - query: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported. (see below for nested schema)\nQuery describes the indicator that will be measured against the objective. Freeform Query types are currently supported.' } }, - withQueryMixin(value): { - spec+: { - parameters+: { - initProvider+: { - query+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - query+: - { - '#': { help: '', name: 'query' }, - '#withFreeform': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, - withFreeform(value): { - freeform: - (if std.isArray(value) - then value - else [value]), - }, - '#withFreeformMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, - withFreeformMixin(value): { - freeform+: - (if std.isArray(value) - then value - else [value]), - }, - freeform+: - { - '#': { help: '', name: 'freeform' }, - '#withQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Block List, Min: 1) Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported. (see below for nested schema)\nFreeform Query Field' } }, - withQuery(value): { - query: value, - }, - }, - '#withRatio': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, - withRatio(value): { - ratio: - (if std.isArray(value) - then value - else [value]), - }, - '#withRatioMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, - withRatioMixin(value): { - ratio+: - (if std.isArray(value) - then value - else [value]), - }, - ratio+: - { - '#': { help: '', name: 'ratio' }, - '#withGroupByLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"\nDefines Group By Labels used for per-label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"' } }, - withGroupByLabels(value): { - groupByLabels: - (if std.isArray(value) - then value - else [value]), - }, - '#withGroupByLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"\nDefines Group By Labels used for per-label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"' } }, - withGroupByLabelsMixin(value): { - groupByLabels+: - (if std.isArray(value) - then value - else [value]), - }, - '#withSuccessMetric': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Counter metric for success events (numerator)\nCounter metric for success events (numerator)' } }, - withSuccessMetric(value): { - successMetric: value, - }, - '#withTotalMetric': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Metric for total events (denominator)\nMetric for total events (denominator)' } }, - withTotalMetric(value): { - totalMetric: value, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Query type must be one of: "freeform", "query", "ratio", or "threshold"\nQuery type must be one of: "freeform", "query", "ratio", or "threshold"' } }, - withType(value): { - type: value, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - }, - }, - sm+: - { - '#': { help: '', name: 'sm' }, - v1alpha1+: - { - check+: - { - '#': { help: '', name: 'check' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'sm.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'Check', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'CheckSpec defines the desired state of Check' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'CheckSpec defines the desired state of Check' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withAlertSensitivity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Can be set to none, low, medium, or high to correspond to the check alert levels. Defaults to none.\nCan be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/). Defaults to `none`.' } }, - withAlertSensitivity(value): { - spec+: { - parameters+: { - forProvider+: { - alertSensitivity: value, - }, - }, - }, - }, - '#withBasicMetricsOnly': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Metrics are reduced by default. Set this to false if you'd like to publish all metrics. We maintain a full list of metrics collected for each. Defaults to true.\nMetrics are reduced by default. Set this to `false` if you'd like to publish all metrics. We maintain a [full list of metrics](https://github.com/grafana/synthetic-monitoring-agent/tree/main/internal/scraper/testdata) collected for each. Defaults to `true`." } }, - withBasicMetricsOnly(value=true): { - spec+: { - parameters+: { - forProvider+: { - basicMetricsOnly: value, - }, - }, - }, - }, - '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to enable the check. Defaults to true.\nWhether to enable the check. Defaults to `true`.' } }, - withEnabled(value=true): { - spec+: { - parameters+: { - forProvider+: { - enabled: value, - }, - }, - }, - }, - '#withFrequency': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to 60000.\nHow often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to `60000`.' } }, - withFrequency(value): { - spec+: { - parameters+: { - forProvider+: { - frequency: value, - }, - }, - }, - }, - '#withJob': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name used for job label.\nName used for job label.' } }, - withJob(value): { - spec+: { - parameters+: { - forProvider+: { - job: value, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.\nCustom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.' } }, - withLabels(value): { - spec+: { - parameters+: { - forProvider+: { - labels: value, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.\nCustom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - labels+: value, - }, - }, - }, - }, - '#withProbes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) List of probe location IDs where this target will be checked from.\nList of probe location IDs where this target will be checked from.' } }, - withProbes(value): { - spec+: { - parameters+: { - forProvider+: { - probes: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withProbesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) List of probe location IDs where this target will be checked from.\nList of probe location IDs where this target will be checked from.' } }, - withProbesMixin(value): { - spec+: { - parameters+: { - forProvider+: { - probes+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1, Max: 1) Check settings. Should contain exactly one nested block. (see below for nested schema)\nCheck settings. Should contain exactly one nested block.' } }, - withSettings(value): { - spec+: { - parameters+: { - forProvider+: { - settings: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1, Max: 1) Check settings. Should contain exactly one nested block. (see below for nested schema)\nCheck settings. Should contain exactly one nested block.' } }, - withSettingsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - settings+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - settings+: - { - '#': { help: '', name: 'settings' }, - '#withDns': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for DNS check. The target must be a valid hostname (or IP address for PTR records). (see below for nested schema)\nSettings for DNS check. The target must be a valid hostname (or IP address for `PTR` records).' } }, - withDns(value): { - dns: - (if std.isArray(value) - then value - else [value]), - }, - '#withDnsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for DNS check. The target must be a valid hostname (or IP address for PTR records). (see below for nested schema)\nSettings for DNS check. The target must be a valid hostname (or IP address for `PTR` records).' } }, - withDnsMixin(value): { - dns+: - (if std.isArray(value) - then value - else [value]), - }, - dns+: - { - '#': { help: '', name: 'dns' }, - '#withIpVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." } }, - withIpVersion(value): { - ipVersion: value, - }, - '#withPort': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Port to target. Defaults to 53.\nPort to target. Defaults to `53`.' } }, - withPort(value): { - port: value, - }, - '#withProtocol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) TCP or UDP. Defaults to UDP.\n`TCP` or `UDP`. Defaults to `UDP`.' } }, - withProtocol(value): { - protocol: value, - }, - '#withRecordType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) One of ANY, A, AAAA, CNAME, MX, NS, PTR, SOA, SRV, TXT. Defaults to A.\nOne of `ANY`, `A`, `AAAA`, `CNAME`, `MX`, `NS`, `PTR`, `SOA`, `SRV`, `TXT`. Defaults to `A`.' } }, - withRecordType(value): { - recordType: value, - }, - '#withServer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) DNS server address to target. Defaults to 8.8.8.8.\nDNS server address to target. Defaults to `8.8.8.8`.' } }, - withServer(value): { - server: value, - }, - '#withSourceIpAddress': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Source IP address.\nSource IP address.' } }, - withSourceIpAddress(value): { - sourceIpAddress: value, - }, - '#withValidRCodes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of valid response codes. Options include NOERROR, BADALG, BADMODE, BADKEY, BADCOOKIE, BADNAME, BADSIG, BADTIME, BADTRUNC, BADVERS, FORMERR, NOTIMP, NOTAUTH, NOTZONE, NXDOMAIN, NXRRSET, REFUSED, SERVFAIL, YXDOMAIN, YXRRSET.\nList of valid response codes. Options include `NOERROR`, `BADALG`, `BADMODE`, `BADKEY`, `BADCOOKIE`, `BADNAME`, `BADSIG`, `BADTIME`, `BADTRUNC`, `BADVERS`, `FORMERR`, `NOTIMP`, `NOTAUTH`, `NOTZONE`, `NXDOMAIN`, `NXRRSET`, `REFUSED`, `SERVFAIL`, `YXDOMAIN`, `YXRRSET`.' } }, - withValidRCodes(value): { - validRCodes: - (if std.isArray(value) - then value - else [value]), - }, - '#withValidRCodesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of valid response codes. Options include NOERROR, BADALG, BADMODE, BADKEY, BADCOOKIE, BADNAME, BADSIG, BADTIME, BADTRUNC, BADVERS, FORMERR, NOTIMP, NOTAUTH, NOTZONE, NXDOMAIN, NXRRSET, REFUSED, SERVFAIL, YXDOMAIN, YXRRSET.\nList of valid response codes. Options include `NOERROR`, `BADALG`, `BADMODE`, `BADKEY`, `BADCOOKIE`, `BADNAME`, `BADSIG`, `BADTIME`, `BADTRUNC`, `BADVERS`, `FORMERR`, `NOTIMP`, `NOTAUTH`, `NOTZONE`, `NXDOMAIN`, `NXRRSET`, `REFUSED`, `SERVFAIL`, `YXDOMAIN`, `YXRRSET`.' } }, - withValidRCodesMixin(value): { - validRCodes+: - (if std.isArray(value) - then value - else [value]), - }, - '#withValidateAdditionalRrs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Validate additional matches. (see below for nested schema)\nValidate additional matches.' } }, - withValidateAdditionalRrs(value): { - validateAdditionalRrs: - (if std.isArray(value) - then value - else [value]), - }, - '#withValidateAdditionalRrsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Validate additional matches. (see below for nested schema)\nValidate additional matches.' } }, - withValidateAdditionalRrsMixin(value): { - validateAdditionalRrs+: - (if std.isArray(value) - then value - else [value]), - }, - validateAdditionalRrs+: - { - '#': { help: '', name: 'validateAdditionalRrs' }, - '#withFailIfMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, - withFailIfMatchesRegexp(value): { - failIfMatchesRegexp: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, - withFailIfMatchesRegexpMixin(value): { - failIfMatchesRegexp+: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfNotMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, - withFailIfNotMatchesRegexp(value): { - failIfNotMatchesRegexp: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfNotMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, - withFailIfNotMatchesRegexpMixin(value): { - failIfNotMatchesRegexp+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withValidateAnswerRrs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Validate response answer. (see below for nested schema)\nValidate response answer.' } }, - withValidateAnswerRrs(value): { - validateAnswerRrs: - (if std.isArray(value) - then value - else [value]), - }, - '#withValidateAnswerRrsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Validate response answer. (see below for nested schema)\nValidate response answer.' } }, - withValidateAnswerRrsMixin(value): { - validateAnswerRrs+: - (if std.isArray(value) - then value - else [value]), - }, - validateAnswerRrs+: - { - '#': { help: '', name: 'validateAnswerRrs' }, - '#withFailIfMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, - withFailIfMatchesRegexp(value): { - failIfMatchesRegexp: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, - withFailIfMatchesRegexpMixin(value): { - failIfMatchesRegexp+: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfNotMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, - withFailIfNotMatchesRegexp(value): { - failIfNotMatchesRegexp: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfNotMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, - withFailIfNotMatchesRegexpMixin(value): { - failIfNotMatchesRegexp+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withValidateAuthorityRrs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Validate response authority. (see below for nested schema)\nValidate response authority.' } }, - withValidateAuthorityRrs(value): { - validateAuthorityRrs: - (if std.isArray(value) - then value - else [value]), - }, - '#withValidateAuthorityRrsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Validate response authority. (see below for nested schema)\nValidate response authority.' } }, - withValidateAuthorityRrsMixin(value): { - validateAuthorityRrs+: - (if std.isArray(value) - then value - else [value]), - }, - validateAuthorityRrs+: - { - '#': { help: '', name: 'validateAuthorityRrs' }, - '#withFailIfMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, - withFailIfMatchesRegexp(value): { - failIfMatchesRegexp: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, - withFailIfMatchesRegexpMixin(value): { - failIfMatchesRegexp+: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfNotMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, - withFailIfNotMatchesRegexp(value): { - failIfNotMatchesRegexp: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfNotMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, - withFailIfNotMatchesRegexpMixin(value): { - failIfNotMatchesRegexp+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withGrpc': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for gRPC Health check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address.' } }, - withGrpc(value): { - grpc: - (if std.isArray(value) - then value - else [value]), - }, - '#withGrpcMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for gRPC Health check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address.' } }, - withGrpcMixin(value): { - grpc+: - (if std.isArray(value) - then value - else [value]), - }, - grpc+: - { - '#': { help: '', name: 'grpc' }, - '#withIpVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." } }, - withIpVersion(value): { - ipVersion: value, - }, - '#withService': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) gRPC service.\ngRPC service.' } }, - withService(value): { - service: value, - }, - '#withTls': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether or not TLS is used when the connection is initiated. Defaults to false.\nWhether or not TLS is used when the connection is initiated. Defaults to `false`.' } }, - withTls(value=true): { - tls: value, - }, - '#withTlsConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, - withTlsConfig(value): { - tlsConfig: - (if std.isArray(value) - then value - else [value]), - }, - '#withTlsConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, - withTlsConfigMixin(value): { - tlsConfig+: - (if std.isArray(value) - then value - else [value]), - }, - tlsConfig+: - { - '#': { help: '', name: 'tlsConfig' }, - '#withCaCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) CA certificate in PEM format.\nCA certificate in PEM format.' } }, - withCaCert(value): { - caCert: value, - }, - '#withClientCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Client certificate in PEM format.\nClient certificate in PEM format.' } }, - withClientCert(value): { - clientCert: value, - }, - '#withClientKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, - withClientKeySecretRef(value): { - clientKeySecretRef: value, - }, - '#withClientKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, - withClientKeySecretRefMixin(value): { - clientKeySecretRef+: value, - }, - clientKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - clientKeySecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - clientKeySecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - clientKeySecretRef+: { - namespace: value, - }, - }, - }, - '#withInsecureSkipVerify': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Disable target certificate validation. Defaults to false.\nDisable target certificate validation. Defaults to `false`.' } }, - withInsecureSkipVerify(value=true): { - insecureSkipVerify: value, - }, - '#withServerName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Used to verify the hostname for the targets.\nUsed to verify the hostname for the targets.' } }, - withServerName(value): { - serverName: value, - }, - }, - }, - '#withHttp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for HTTP check. The target must be a URL (http or https). (see below for nested schema)\nSettings for HTTP check. The target must be a URL (http or https).' } }, - withHttp(value): { - http: - (if std.isArray(value) - then value - else [value]), - }, - '#withHttpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for HTTP check. The target must be a URL (http or https). (see below for nested schema)\nSettings for HTTP check. The target must be a URL (http or https).' } }, - withHttpMixin(value): { - http+: - (if std.isArray(value) - then value - else [value]), - }, - http+: - { - '#': { help: '', name: 'http' }, - '#withBasicAuth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Basic auth settings. (see below for nested schema)\nBasic auth settings.' } }, - withBasicAuth(value): { - basicAuth: - (if std.isArray(value) - then value - else [value]), - }, - '#withBasicAuthMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Basic auth settings. (see below for nested schema)\nBasic auth settings.' } }, - withBasicAuthMixin(value): { - basicAuth+: - (if std.isArray(value) - then value - else [value]), - }, - basicAuth+: - { - '#': { help: '', name: 'basicAuth' }, - '#withPassword': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Basic auth password.\nBasic auth password.' } }, - withPassword(value): { - password: value, - }, - '#withUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Basic auth username.\nBasic auth username.' } }, - withUsername(value): { - username: value, - }, - }, - '#withBearerToken': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Token for use with bearer authorization header.\nToken for use with bearer authorization header.' } }, - withBearerToken(value): { - bearerToken: value, - }, - '#withBody': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The body of the HTTP request used in probe.\nThe body of the HTTP request used in probe.' } }, - withBody(value): { - body: value, - }, - '#withCacheBustingQueryParamName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the query parameter used to prevent the server from using a cached response. Each probe will assign a random value to this parameter each time a request is made.\nThe name of the query parameter used to prevent the server from using a cached response. Each probe will assign a random value to this parameter each time a request is made.' } }, - withCacheBustingQueryParamName(value): { - cacheBustingQueryParamName: value, - }, - '#withFailIfBodyMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of regexes. If any match the response body, the check will fail.\nList of regexes. If any match the response body, the check will fail.' } }, - withFailIfBodyMatchesRegexp(value): { - failIfBodyMatchesRegexp: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfBodyMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of regexes. If any match the response body, the check will fail.\nList of regexes. If any match the response body, the check will fail.' } }, - withFailIfBodyMatchesRegexpMixin(value): { - failIfBodyMatchesRegexp+: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfBodyNotMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of regexes. If any do not match the response body, the check will fail.\nList of regexes. If any do not match the response body, the check will fail.' } }, - withFailIfBodyNotMatchesRegexp(value): { - failIfBodyNotMatchesRegexp: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfBodyNotMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of regexes. If any do not match the response body, the check will fail.\nList of regexes. If any do not match the response body, the check will fail.' } }, - withFailIfBodyNotMatchesRegexpMixin(value): { - failIfBodyNotMatchesRegexp+: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfHeaderMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Check fails if headers match. (see below for nested schema)\nCheck fails if headers match.' } }, - withFailIfHeaderMatchesRegexp(value): { - failIfHeaderMatchesRegexp: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfHeaderMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Check fails if headers match. (see below for nested schema)\nCheck fails if headers match.' } }, - withFailIfHeaderMatchesRegexpMixin(value): { - failIfHeaderMatchesRegexp+: - (if std.isArray(value) - then value - else [value]), - }, - failIfHeaderMatchesRegexp+: - { - '#': { help: '', name: 'failIfHeaderMatchesRegexp' }, - '#withAllowMissing': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Allow header to be missing from responses. Defaults to false.\nAllow header to be missing from responses. Defaults to `false`.' } }, - withAllowMissing(value=true): { - allowMissing: value, - }, - '#withHeader': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Header name.\nHeader name.' } }, - withHeader(value): { - header: value, - }, - '#withRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Regex that header value should match.\nRegex that header value should match.' } }, - withRegexp(value): { - regexp: value, - }, - }, - '#withFailIfHeaderNotMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Check fails if headers do not match. (see below for nested schema)\nCheck fails if headers do not match.' } }, - withFailIfHeaderNotMatchesRegexp(value): { - failIfHeaderNotMatchesRegexp: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfHeaderNotMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Check fails if headers do not match. (see below for nested schema)\nCheck fails if headers do not match.' } }, - withFailIfHeaderNotMatchesRegexpMixin(value): { - failIfHeaderNotMatchesRegexp+: - (if std.isArray(value) - then value - else [value]), - }, - failIfHeaderNotMatchesRegexp+: - { - '#': { help: '', name: 'failIfHeaderNotMatchesRegexp' }, - '#withAllowMissing': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Allow header to be missing from responses. Defaults to false.\nAllow header to be missing from responses. Defaults to `false`.' } }, - withAllowMissing(value=true): { - allowMissing: value, - }, - '#withHeader': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Header name.\nHeader name.' } }, - withHeader(value): { - header: value, - }, - '#withRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Regex that header value should match.\nRegex that header value should match.' } }, - withRegexp(value): { - regexp: value, - }, - }, - '#withFailIfNotSsl': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Fail if SSL is not present. Defaults to false.\nFail if SSL is not present. Defaults to `false`.' } }, - withFailIfNotSsl(value=true): { - failIfNotSsl: value, - }, - '#withFailIfSsl': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Fail if SSL is present. Defaults to false.\nFail if SSL is present. Defaults to `false`.' } }, - withFailIfSsl(value=true): { - failIfSsl: value, - }, - '#withHeaders': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers set for the probe.\nThe HTTP headers set for the probe.' } }, - withHeaders(value): { - headers: - (if std.isArray(value) - then value - else [value]), - }, - '#withHeadersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers set for the probe.\nThe HTTP headers set for the probe.' } }, - withHeadersMixin(value): { - headers+: - (if std.isArray(value) - then value - else [value]), - }, - '#withIpVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." } }, - withIpVersion(value): { - ipVersion: value, - }, - '#withMethod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Request method. One of GET, CONNECT, DELETE, HEAD, OPTIONS, POST, PUT, TRACE Defaults to GET.\nRequest method. One of `GET`, `CONNECT`, `DELETE`, `HEAD`, `OPTIONS`, `POST`, `PUT`, `TRACE` Defaults to `GET`.' } }, - withMethod(value): { - method: value, - }, - '#withNoFollowRedirects': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Do not follow redirects. Defaults to false.\nDo not follow redirects. Defaults to `false`.' } }, - withNoFollowRedirects(value=true): { - noFollowRedirects: value, - }, - '#withProxyConnectHeaders': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers sent to the proxy URL\nThe HTTP headers sent to the proxy URL' } }, - withProxyConnectHeaders(value): { - proxyConnectHeaders: - (if std.isArray(value) - then value - else [value]), - }, - '#withProxyConnectHeadersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers sent to the proxy URL\nThe HTTP headers sent to the proxy URL' } }, - withProxyConnectHeadersMixin(value): { - proxyConnectHeaders+: - (if std.isArray(value) - then value - else [value]), - }, - '#withProxyUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Proxy URL.\nProxy URL.' } }, - withProxyUrl(value): { - proxyUrl: value, - }, - '#withTlsConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, - withTlsConfig(value): { - tlsConfig: - (if std.isArray(value) - then value - else [value]), - }, - '#withTlsConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, - withTlsConfigMixin(value): { - tlsConfig+: - (if std.isArray(value) - then value - else [value]), - }, - tlsConfig+: - { - '#': { help: '', name: 'tlsConfig' }, - '#withCaCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) CA certificate in PEM format.\nCA certificate in PEM format.' } }, - withCaCert(value): { - caCert: value, - }, - '#withClientCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Client certificate in PEM format.\nClient certificate in PEM format.' } }, - withClientCert(value): { - clientCert: value, - }, - '#withClientKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, - withClientKeySecretRef(value): { - clientKeySecretRef: value, - }, - '#withClientKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, - withClientKeySecretRefMixin(value): { - clientKeySecretRef+: value, - }, - clientKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - clientKeySecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - clientKeySecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - clientKeySecretRef+: { - namespace: value, - }, - }, - }, - '#withInsecureSkipVerify': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Disable target certificate validation. Defaults to false.\nDisable target certificate validation. Defaults to `false`.' } }, - withInsecureSkipVerify(value=true): { - insecureSkipVerify: value, - }, - '#withServerName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Used to verify the hostname for the targets.\nUsed to verify the hostname for the targets.' } }, - withServerName(value): { - serverName: value, - }, - }, - '#withValidHttpVersions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of valid HTTP versions. Options include HTTP/1.0, HTTP/1.1, HTTP/2.0\nList of valid HTTP versions. Options include `HTTP/1.0`, `HTTP/1.1`, `HTTP/2.0`' } }, - withValidHttpVersions(value): { - validHttpVersions: - (if std.isArray(value) - then value - else [value]), - }, - '#withValidHttpVersionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of valid HTTP versions. Options include HTTP/1.0, HTTP/1.1, HTTP/2.0\nList of valid HTTP versions. Options include `HTTP/1.0`, `HTTP/1.1`, `HTTP/2.0`' } }, - withValidHttpVersionsMixin(value): { - validHttpVersions+: - (if std.isArray(value) - then value - else [value]), - }, - '#withValidStatusCodes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) Accepted status codes. If unset, defaults to 2xx.\nAccepted status codes. If unset, defaults to 2xx.' } }, - withValidStatusCodes(value): { - validStatusCodes: - (if std.isArray(value) - then value - else [value]), - }, - '#withValidStatusCodesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) Accepted status codes. If unset, defaults to 2xx.\nAccepted status codes. If unset, defaults to 2xx.' } }, - withValidStatusCodesMixin(value): { - validStatusCodes+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withMultihttp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for MultiHTTP check. The target must be a URL (http or https) (see below for nested schema)\nSettings for MultiHTTP check. The target must be a URL (http or https)' } }, - withMultihttp(value): { - multihttp: - (if std.isArray(value) - then value - else [value]), - }, - '#withMultihttpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for MultiHTTP check. The target must be a URL (http or https) (see below for nested schema)\nSettings for MultiHTTP check. The target must be a URL (http or https)' } }, - withMultihttpMixin(value): { - multihttp+: - (if std.isArray(value) - then value - else [value]), - }, - multihttp+: - { - '#': { help: '', name: 'multihttp' }, - '#withEntries': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) (see below for nested schema)' } }, - withEntries(value): { - entries: - (if std.isArray(value) - then value - else [value]), - }, - '#withEntriesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) (see below for nested schema)' } }, - withEntriesMixin(value): { - entries+: - (if std.isArray(value) - then value - else [value]), - }, - entries+: - { - '#': { help: '', name: 'entries' }, - '#withAssertions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Assertions to make on the request response (see below for nested schema)\nAssertions to make on the request response' } }, - withAssertions(value): { - assertions: - (if std.isArray(value) - then value - else [value]), - }, - '#withAssertionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Assertions to make on the request response (see below for nested schema)\nAssertions to make on the request response' } }, - withAssertionsMixin(value): { - assertions+: - (if std.isArray(value) - then value - else [value]), - }, - assertions+: - { - '#': { help: '', name: 'assertions' }, - '#withCondition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The condition of the assertion: NOT_CONTAINS, EQUALS, STARTS_WITH, ENDS_WITH, TYPE_OF, CONTAINS\nThe condition of the assertion: NOT_CONTAINS, EQUALS, STARTS_WITH, ENDS_WITH, TYPE_OF, CONTAINS' } }, - withCondition(value): { - condition: value, - }, - '#withExpression': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The expression of the assertion. Should start with $.\nThe expression of the assertion. Should start with $.' } }, - withExpression(value): { - expression: value, - }, - '#withSubject': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The subject of the assertion: RESPONSE_HEADERS, HTTP_STATUS_CODE, RESPONSE_BODY\nThe subject of the assertion: RESPONSE_HEADERS, HTTP_STATUS_CODE, RESPONSE_BODY' } }, - withSubject(value): { - subject: value, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of assertion to make: TEXT, JSON_PATH_VALUE, JSON_PATH_ASSERTION, REGEX_ASSERTION\nThe type of assertion to make: TEXT, JSON_PATH_VALUE, JSON_PATH_ASSERTION, REGEX_ASSERTION' } }, - withType(value): { - type: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The value of the assertion\nThe value of the assertion' } }, - withValue(value): { - value: value, - }, - }, - '#withRequest': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) An individual MultiHTTP request (see below for nested schema)\nAn individual MultiHTTP request' } }, - withRequest(value): { - request: - (if std.isArray(value) - then value - else [value]), - }, - '#withRequestMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) An individual MultiHTTP request (see below for nested schema)\nAn individual MultiHTTP request' } }, - withRequestMixin(value): { - request+: - (if std.isArray(value) - then value - else [value]), - }, - request+: - { - '#': { help: '', name: 'request' }, - '#withBody': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(String) The body of the HTTP request used in probe.\nThe body of the HTTP request used in probe.' } }, - withBody(value): { - body: - (if std.isArray(value) - then value - else [value]), - }, - '#withBodyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(String) The body of the HTTP request used in probe.\nThe body of the HTTP request used in probe.' } }, - withBodyMixin(value): { - body+: - (if std.isArray(value) - then value - else [value]), - }, - body+: - { - '#': { help: '', name: 'body' }, - '#withContentEncoding': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The content encoding of the body\nThe content encoding of the body' } }, - withContentEncoding(value): { - contentEncoding: value, - }, - '#withContentType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The content type of the body\nThe content type of the body' } }, - withContentType(value): { - contentType: value, - }, - '#withPayload': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The body payload\nThe body payload' } }, - withPayload(value): { - payload: value, - }, - }, - '#withHeaders': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers set for the probe.\nThe headers to send with the request' } }, - withHeaders(value): { - headers: - (if std.isArray(value) - then value - else [value]), - }, - '#withHeadersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers set for the probe.\nThe headers to send with the request' } }, - withHeadersMixin(value): { - headers+: - (if std.isArray(value) - then value - else [value]), - }, - headers+: - { - '#': { help: '', name: 'headers' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the header to send\nName of the header to send' } }, - withName(value): { - name: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The value of the assertion\nValue of the header to send' } }, - withValue(value): { - value: value, - }, - }, - '#withMethod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Request method. One of GET, CONNECT, DELETE, HEAD, OPTIONS, POST, PUT, TRACE Defaults to GET.\nThe HTTP method to use' } }, - withMethod(value): { - method: value, - }, - '#withQueryFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Query fields to send with the request (see below for nested schema)\nQuery fields to send with the request' } }, - withQueryFields(value): { - queryFields: - (if std.isArray(value) - then value - else [value]), - }, - '#withQueryFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Query fields to send with the request (see below for nested schema)\nQuery fields to send with the request' } }, - withQueryFieldsMixin(value): { - queryFields+: - (if std.isArray(value) - then value - else [value]), - }, - queryFields+: - { - '#': { help: '', name: 'queryFields' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the header to send\nName of the query field to send' } }, - withName(value): { - name: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The value of the assertion\nValue of the query field to send' } }, - withValue(value): { - value: value, - }, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL for the request\nThe URL for the request' } }, - withUrl(value): { - url: value, - }, - }, - '#withVariables': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Variables to extract from the request response (see below for nested schema)\nVariables to extract from the request response' } }, - withVariables(value): { - variables: - (if std.isArray(value) - then value - else [value]), - }, - '#withVariablesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Variables to extract from the request response (see below for nested schema)\nVariables to extract from the request response' } }, - withVariablesMixin(value): { - variables+: - (if std.isArray(value) - then value - else [value]), - }, - variables+: - { - '#': { help: '', name: 'variables' }, - '#withAttribute': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The attribute to use when finding the variable value. Only used when type is CSS_SELECTOR\nThe attribute to use when finding the variable value. Only used when type is CSS_SELECTOR' } }, - withAttribute(value): { - attribute: value, - }, - '#withExpression': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The expression of the assertion. Should start with $.\nThe expression to when finding the variable. Should start with $. Only use when type is JSON_PATH or REGEX' } }, - withExpression(value): { - expression: value, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the header to send\nThe name of the variable to extract' } }, - withName(value): { - name: value, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of assertion to make: TEXT, JSON_PATH_VALUE, JSON_PATH_ASSERTION, REGEX_ASSERTION\nThe method of finding the variable value to extract. JSON_PATH, REGEX, CSS_SELECTOR' } }, - withType(value): { - type: value, - }, - }, - }, - }, - '#withPing': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for ping (ICMP) check. The target must be a valid hostname or IP address. (see below for nested schema)\nSettings for ping (ICMP) check. The target must be a valid hostname or IP address.' } }, - withPing(value): { - ping: - (if std.isArray(value) - then value - else [value]), - }, - '#withPingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for ping (ICMP) check. The target must be a valid hostname or IP address. (see below for nested schema)\nSettings for ping (ICMP) check. The target must be a valid hostname or IP address.' } }, - withPingMixin(value): { - ping+: - (if std.isArray(value) - then value - else [value]), - }, - ping+: - { - '#': { help: '', name: 'ping' }, - '#withDontFragment': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'bit in the IP-header. Only works with ipV4. Defaults to false.\nSet the DF-bit in the IP-header. Only works with ipV4. Defaults to `false`.' } }, - withDontFragment(value=true): { - dontFragment: value, - }, - '#withIpVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." } }, - withIpVersion(value): { - ipVersion: value, - }, - '#withPayloadSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Payload size. Defaults to 0.\nPayload size. Defaults to `0`.' } }, - withPayloadSize(value): { - payloadSize: value, - }, - '#withSourceIpAddress': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Source IP address.\nSource IP address.' } }, - withSourceIpAddress(value): { - sourceIpAddress: value, - }, - }, - '#withScripted': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema)\nSettings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/.' } }, - withScripted(value): { - scripted: - (if std.isArray(value) - then value - else [value]), - }, - '#withScriptedMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema)\nSettings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/.' } }, - withScriptedMixin(value): { - scripted+: - (if std.isArray(value) - then value - else [value]), - }, - scripted+: - { - '#': { help: '', name: 'scripted' }, - '#withScript': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withScript(value): { - script: value, - }, - }, - '#withTcp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for TCP check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for TCP check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address.' } }, - withTcp(value): { - tcp: - (if std.isArray(value) - then value - else [value]), - }, - '#withTcpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for TCP check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for TCP check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address.' } }, - withTcpMixin(value): { - tcp+: - (if std.isArray(value) - then value - else [value]), - }, - tcp+: - { - '#': { help: '', name: 'tcp' }, - '#withIpVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." } }, - withIpVersion(value): { - ipVersion: value, - }, - '#withQueryResponse': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The query sent in the TCP probe and the expected associated response. (see below for nested schema)\nThe query sent in the TCP probe and the expected associated response.' } }, - withQueryResponse(value): { - queryResponse: - (if std.isArray(value) - then value - else [value]), - }, - '#withQueryResponseMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The query sent in the TCP probe and the expected associated response. (see below for nested schema)\nThe query sent in the TCP probe and the expected associated response.' } }, - withQueryResponseMixin(value): { - queryResponse+: - (if std.isArray(value) - then value - else [value]), - }, - queryResponse+: - { - '#': { help: '', name: 'queryResponse' }, - '#withExpect': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Response to expect.\nResponse to expect.' } }, - withExpect(value): { - expect: value, - }, - '#withSend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Data to send.\nData to send.' } }, - withSend(value): { - send: value, - }, - '#withStartTls': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Upgrade TCP connection to TLS. Defaults to false.\nUpgrade TCP connection to TLS. Defaults to `false`.' } }, - withStartTls(value=true): { - startTls: value, - }, - }, - '#withSourceIpAddress': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Source IP address.\nSource IP address.' } }, - withSourceIpAddress(value): { - sourceIpAddress: value, - }, - '#withTls': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether or not TLS is used when the connection is initiated. Defaults to false.\nWhether or not TLS is used when the connection is initiated. Defaults to `false`.' } }, - withTls(value=true): { - tls: value, - }, - '#withTlsConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, - withTlsConfig(value): { - tlsConfig: - (if std.isArray(value) - then value - else [value]), - }, - '#withTlsConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, - withTlsConfigMixin(value): { - tlsConfig+: - (if std.isArray(value) - then value - else [value]), - }, - tlsConfig+: - { - '#': { help: '', name: 'tlsConfig' }, - '#withCaCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) CA certificate in PEM format.\nCA certificate in PEM format.' } }, - withCaCert(value): { - caCert: value, - }, - '#withClientCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Client certificate in PEM format.\nClient certificate in PEM format.' } }, - withClientCert(value): { - clientCert: value, - }, - '#withClientKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, - withClientKeySecretRef(value): { - clientKeySecretRef: value, - }, - '#withClientKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, - withClientKeySecretRefMixin(value): { - clientKeySecretRef+: value, - }, - clientKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - clientKeySecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - clientKeySecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - clientKeySecretRef+: { - namespace: value, - }, - }, - }, - '#withInsecureSkipVerify': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Disable target certificate validation. Defaults to false.\nDisable target certificate validation. Defaults to `false`.' } }, - withInsecureSkipVerify(value=true): { - insecureSkipVerify: value, - }, - '#withServerName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Used to verify the hostname for the targets.\nUsed to verify the hostname for the targets.' } }, - withServerName(value): { - serverName: value, - }, - }, - }, - '#withTraceroute': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for traceroute check. The target must be a valid hostname or IP address (see below for nested schema)\nSettings for traceroute check. The target must be a valid hostname or IP address' } }, - withTraceroute(value): { - traceroute: - (if std.isArray(value) - then value - else [value]), - }, - '#withTracerouteMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for traceroute check. The target must be a valid hostname or IP address (see below for nested schema)\nSettings for traceroute check. The target must be a valid hostname or IP address' } }, - withTracerouteMixin(value): { - traceroute+: - (if std.isArray(value) - then value - else [value]), - }, - traceroute+: - { - '#': { help: '', name: 'traceroute' }, - '#withMaxHops': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Maximum TTL for the trace Defaults to 64.\nMaximum TTL for the trace Defaults to `64`.' } }, - withMaxHops(value): { - maxHops: value, - }, - '#withMaxUnknownHops': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Maximum number of hosts to travers that give no response Defaults to 15.\nMaximum number of hosts to travers that give no response Defaults to `15`.' } }, - withMaxUnknownHops(value): { - maxUnknownHops: value, - }, - '#withPtrLookup': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Reverse lookup hostnames from IP addresses Defaults to true.\nReverse lookup hostnames from IP addresses Defaults to `true`.' } }, - withPtrLookup(value=true): { - ptrLookup: value, - }, - }, - }, - '#withTarget': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Hostname to ping.\nHostname to ping.' } }, - withTarget(value): { - spec+: { - parameters+: { - forProvider+: { - target: value, - }, - }, - }, - }, - '#withTimeout': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to 3000.\nSpecifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to `3000`.' } }, - withTimeout(value): { - spec+: { - parameters+: { - forProvider+: { - timeout: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withAlertSensitivity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Can be set to none, low, medium, or high to correspond to the check alert levels. Defaults to none.\nCan be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/). Defaults to `none`.' } }, - withAlertSensitivity(value): { - spec+: { - parameters+: { - initProvider+: { - alertSensitivity: value, - }, - }, - }, - }, - '#withBasicMetricsOnly': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Metrics are reduced by default. Set this to false if you'd like to publish all metrics. We maintain a full list of metrics collected for each. Defaults to true.\nMetrics are reduced by default. Set this to `false` if you'd like to publish all metrics. We maintain a [full list of metrics](https://github.com/grafana/synthetic-monitoring-agent/tree/main/internal/scraper/testdata) collected for each. Defaults to `true`." } }, - withBasicMetricsOnly(value=true): { - spec+: { - parameters+: { - initProvider+: { - basicMetricsOnly: value, - }, - }, - }, - }, - '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to enable the check. Defaults to true.\nWhether to enable the check. Defaults to `true`.' } }, - withEnabled(value=true): { - spec+: { - parameters+: { - initProvider+: { - enabled: value, - }, - }, - }, - }, - '#withFrequency': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to 60000.\nHow often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to `60000`.' } }, - withFrequency(value): { - spec+: { - parameters+: { - initProvider+: { - frequency: value, - }, - }, - }, - }, - '#withJob': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name used for job label.\nName used for job label.' } }, - withJob(value): { - spec+: { - parameters+: { - initProvider+: { - job: value, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.\nCustom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.' } }, - withLabels(value): { - spec+: { - parameters+: { - initProvider+: { - labels: value, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.\nCustom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - labels+: value, - }, - }, - }, - }, - '#withProbes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) List of probe location IDs where this target will be checked from.\nList of probe location IDs where this target will be checked from.' } }, - withProbes(value): { - spec+: { - parameters+: { - initProvider+: { - probes: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withProbesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) List of probe location IDs where this target will be checked from.\nList of probe location IDs where this target will be checked from.' } }, - withProbesMixin(value): { - spec+: { - parameters+: { - initProvider+: { - probes+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1, Max: 1) Check settings. Should contain exactly one nested block. (see below for nested schema)\nCheck settings. Should contain exactly one nested block.' } }, - withSettings(value): { - spec+: { - parameters+: { - initProvider+: { - settings: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1, Max: 1) Check settings. Should contain exactly one nested block. (see below for nested schema)\nCheck settings. Should contain exactly one nested block.' } }, - withSettingsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - settings+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - }, - settings+: - { - '#': { help: '', name: 'settings' }, - '#withDns': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for DNS check. The target must be a valid hostname (or IP address for PTR records). (see below for nested schema)\nSettings for DNS check. The target must be a valid hostname (or IP address for `PTR` records).' } }, - withDns(value): { - dns: - (if std.isArray(value) - then value - else [value]), - }, - '#withDnsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for DNS check. The target must be a valid hostname (or IP address for PTR records). (see below for nested schema)\nSettings for DNS check. The target must be a valid hostname (or IP address for `PTR` records).' } }, - withDnsMixin(value): { - dns+: - (if std.isArray(value) - then value - else [value]), - }, - dns+: - { - '#': { help: '', name: 'dns' }, - '#withIpVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." } }, - withIpVersion(value): { - ipVersion: value, - }, - '#withPort': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Port to target. Defaults to 53.\nPort to target. Defaults to `53`.' } }, - withPort(value): { - port: value, - }, - '#withProtocol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) TCP or UDP. Defaults to UDP.\n`TCP` or `UDP`. Defaults to `UDP`.' } }, - withProtocol(value): { - protocol: value, - }, - '#withRecordType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) One of ANY, A, AAAA, CNAME, MX, NS, PTR, SOA, SRV, TXT. Defaults to A.\nOne of `ANY`, `A`, `AAAA`, `CNAME`, `MX`, `NS`, `PTR`, `SOA`, `SRV`, `TXT`. Defaults to `A`.' } }, - withRecordType(value): { - recordType: value, - }, - '#withServer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) DNS server address to target. Defaults to 8.8.8.8.\nDNS server address to target. Defaults to `8.8.8.8`.' } }, - withServer(value): { - server: value, - }, - '#withSourceIpAddress': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Source IP address.\nSource IP address.' } }, - withSourceIpAddress(value): { - sourceIpAddress: value, - }, - '#withValidRCodes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of valid response codes. Options include NOERROR, BADALG, BADMODE, BADKEY, BADCOOKIE, BADNAME, BADSIG, BADTIME, BADTRUNC, BADVERS, FORMERR, NOTIMP, NOTAUTH, NOTZONE, NXDOMAIN, NXRRSET, REFUSED, SERVFAIL, YXDOMAIN, YXRRSET.\nList of valid response codes. Options include `NOERROR`, `BADALG`, `BADMODE`, `BADKEY`, `BADCOOKIE`, `BADNAME`, `BADSIG`, `BADTIME`, `BADTRUNC`, `BADVERS`, `FORMERR`, `NOTIMP`, `NOTAUTH`, `NOTZONE`, `NXDOMAIN`, `NXRRSET`, `REFUSED`, `SERVFAIL`, `YXDOMAIN`, `YXRRSET`.' } }, - withValidRCodes(value): { - validRCodes: - (if std.isArray(value) - then value - else [value]), - }, - '#withValidRCodesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of valid response codes. Options include NOERROR, BADALG, BADMODE, BADKEY, BADCOOKIE, BADNAME, BADSIG, BADTIME, BADTRUNC, BADVERS, FORMERR, NOTIMP, NOTAUTH, NOTZONE, NXDOMAIN, NXRRSET, REFUSED, SERVFAIL, YXDOMAIN, YXRRSET.\nList of valid response codes. Options include `NOERROR`, `BADALG`, `BADMODE`, `BADKEY`, `BADCOOKIE`, `BADNAME`, `BADSIG`, `BADTIME`, `BADTRUNC`, `BADVERS`, `FORMERR`, `NOTIMP`, `NOTAUTH`, `NOTZONE`, `NXDOMAIN`, `NXRRSET`, `REFUSED`, `SERVFAIL`, `YXDOMAIN`, `YXRRSET`.' } }, - withValidRCodesMixin(value): { - validRCodes+: - (if std.isArray(value) - then value - else [value]), - }, - '#withValidateAdditionalRrs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Validate additional matches. (see below for nested schema)\nValidate additional matches.' } }, - withValidateAdditionalRrs(value): { - validateAdditionalRrs: - (if std.isArray(value) - then value - else [value]), - }, - '#withValidateAdditionalRrsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Validate additional matches. (see below for nested schema)\nValidate additional matches.' } }, - withValidateAdditionalRrsMixin(value): { - validateAdditionalRrs+: - (if std.isArray(value) - then value - else [value]), - }, - validateAdditionalRrs+: - { - '#': { help: '', name: 'validateAdditionalRrs' }, - '#withFailIfMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, - withFailIfMatchesRegexp(value): { - failIfMatchesRegexp: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, - withFailIfMatchesRegexpMixin(value): { - failIfMatchesRegexp+: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfNotMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, - withFailIfNotMatchesRegexp(value): { - failIfNotMatchesRegexp: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfNotMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, - withFailIfNotMatchesRegexpMixin(value): { - failIfNotMatchesRegexp+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withValidateAnswerRrs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Validate response answer. (see below for nested schema)\nValidate response answer.' } }, - withValidateAnswerRrs(value): { - validateAnswerRrs: - (if std.isArray(value) - then value - else [value]), - }, - '#withValidateAnswerRrsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Validate response answer. (see below for nested schema)\nValidate response answer.' } }, - withValidateAnswerRrsMixin(value): { - validateAnswerRrs+: - (if std.isArray(value) - then value - else [value]), - }, - validateAnswerRrs+: - { - '#': { help: '', name: 'validateAnswerRrs' }, - '#withFailIfMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, - withFailIfMatchesRegexp(value): { - failIfMatchesRegexp: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, - withFailIfMatchesRegexpMixin(value): { - failIfMatchesRegexp+: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfNotMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, - withFailIfNotMatchesRegexp(value): { - failIfNotMatchesRegexp: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfNotMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, - withFailIfNotMatchesRegexpMixin(value): { - failIfNotMatchesRegexp+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withValidateAuthorityRrs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Validate response authority. (see below for nested schema)\nValidate response authority.' } }, - withValidateAuthorityRrs(value): { - validateAuthorityRrs: - (if std.isArray(value) - then value - else [value]), - }, - '#withValidateAuthorityRrsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Validate response authority. (see below for nested schema)\nValidate response authority.' } }, - withValidateAuthorityRrsMixin(value): { - validateAuthorityRrs+: - (if std.isArray(value) - then value - else [value]), - }, - validateAuthorityRrs+: - { - '#': { help: '', name: 'validateAuthorityRrs' }, - '#withFailIfMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, - withFailIfMatchesRegexp(value): { - failIfMatchesRegexp: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, - withFailIfMatchesRegexpMixin(value): { - failIfMatchesRegexp+: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfNotMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, - withFailIfNotMatchesRegexp(value): { - failIfNotMatchesRegexp: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfNotMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, - withFailIfNotMatchesRegexpMixin(value): { - failIfNotMatchesRegexp+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withGrpc': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for gRPC Health check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address.' } }, - withGrpc(value): { - grpc: - (if std.isArray(value) - then value - else [value]), - }, - '#withGrpcMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for gRPC Health check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address.' } }, - withGrpcMixin(value): { - grpc+: - (if std.isArray(value) - then value - else [value]), - }, - grpc+: - { - '#': { help: '', name: 'grpc' }, - '#withIpVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." } }, - withIpVersion(value): { - ipVersion: value, - }, - '#withService': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) gRPC service.\ngRPC service.' } }, - withService(value): { - service: value, - }, - '#withTls': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether or not TLS is used when the connection is initiated. Defaults to false.\nWhether or not TLS is used when the connection is initiated. Defaults to `false`.' } }, - withTls(value=true): { - tls: value, - }, - '#withTlsConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, - withTlsConfig(value): { - tlsConfig: - (if std.isArray(value) - then value - else [value]), - }, - '#withTlsConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, - withTlsConfigMixin(value): { - tlsConfig+: - (if std.isArray(value) - then value - else [value]), - }, - tlsConfig+: - { - '#': { help: '', name: 'tlsConfig' }, - '#withCaCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) CA certificate in PEM format.\nCA certificate in PEM format.' } }, - withCaCert(value): { - caCert: value, - }, - '#withClientCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Client certificate in PEM format.\nClient certificate in PEM format.' } }, - withClientCert(value): { - clientCert: value, - }, - '#withClientKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, - withClientKeySecretRef(value): { - clientKeySecretRef: value, - }, - '#withClientKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, - withClientKeySecretRefMixin(value): { - clientKeySecretRef+: value, - }, - clientKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - clientKeySecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - clientKeySecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - clientKeySecretRef+: { - namespace: value, - }, - }, - }, - '#withInsecureSkipVerify': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Disable target certificate validation. Defaults to false.\nDisable target certificate validation. Defaults to `false`.' } }, - withInsecureSkipVerify(value=true): { - insecureSkipVerify: value, - }, - '#withServerName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Used to verify the hostname for the targets.\nUsed to verify the hostname for the targets.' } }, - withServerName(value): { - serverName: value, - }, - }, - }, - '#withHttp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for HTTP check. The target must be a URL (http or https). (see below for nested schema)\nSettings for HTTP check. The target must be a URL (http or https).' } }, - withHttp(value): { - http: - (if std.isArray(value) - then value - else [value]), - }, - '#withHttpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for HTTP check. The target must be a URL (http or https). (see below for nested schema)\nSettings for HTTP check. The target must be a URL (http or https).' } }, - withHttpMixin(value): { - http+: - (if std.isArray(value) - then value - else [value]), - }, - http+: - { - '#': { help: '', name: 'http' }, - '#withBasicAuth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Basic auth settings. (see below for nested schema)\nBasic auth settings.' } }, - withBasicAuth(value): { - basicAuth: - (if std.isArray(value) - then value - else [value]), - }, - '#withBasicAuthMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Basic auth settings. (see below for nested schema)\nBasic auth settings.' } }, - withBasicAuthMixin(value): { - basicAuth+: - (if std.isArray(value) - then value - else [value]), - }, - basicAuth+: - { - '#': { help: '', name: 'basicAuth' }, - '#withPassword': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Basic auth password.\nBasic auth password.' } }, - withPassword(value): { - password: value, - }, - '#withUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Basic auth username.\nBasic auth username.' } }, - withUsername(value): { - username: value, - }, - }, - '#withBearerToken': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Token for use with bearer authorization header.\nToken for use with bearer authorization header.' } }, - withBearerToken(value): { - bearerToken: value, - }, - '#withBody': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The body of the HTTP request used in probe.\nThe body of the HTTP request used in probe.' } }, - withBody(value): { - body: value, - }, - '#withCacheBustingQueryParamName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the query parameter used to prevent the server from using a cached response. Each probe will assign a random value to this parameter each time a request is made.\nThe name of the query parameter used to prevent the server from using a cached response. Each probe will assign a random value to this parameter each time a request is made.' } }, - withCacheBustingQueryParamName(value): { - cacheBustingQueryParamName: value, - }, - '#withFailIfBodyMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of regexes. If any match the response body, the check will fail.\nList of regexes. If any match the response body, the check will fail.' } }, - withFailIfBodyMatchesRegexp(value): { - failIfBodyMatchesRegexp: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfBodyMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of regexes. If any match the response body, the check will fail.\nList of regexes. If any match the response body, the check will fail.' } }, - withFailIfBodyMatchesRegexpMixin(value): { - failIfBodyMatchesRegexp+: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfBodyNotMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of regexes. If any do not match the response body, the check will fail.\nList of regexes. If any do not match the response body, the check will fail.' } }, - withFailIfBodyNotMatchesRegexp(value): { - failIfBodyNotMatchesRegexp: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfBodyNotMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of regexes. If any do not match the response body, the check will fail.\nList of regexes. If any do not match the response body, the check will fail.' } }, - withFailIfBodyNotMatchesRegexpMixin(value): { - failIfBodyNotMatchesRegexp+: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfHeaderMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Check fails if headers match. (see below for nested schema)\nCheck fails if headers match.' } }, - withFailIfHeaderMatchesRegexp(value): { - failIfHeaderMatchesRegexp: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfHeaderMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Check fails if headers match. (see below for nested schema)\nCheck fails if headers match.' } }, - withFailIfHeaderMatchesRegexpMixin(value): { - failIfHeaderMatchesRegexp+: - (if std.isArray(value) - then value - else [value]), - }, - failIfHeaderMatchesRegexp+: - { - '#': { help: '', name: 'failIfHeaderMatchesRegexp' }, - '#withAllowMissing': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Allow header to be missing from responses. Defaults to false.\nAllow header to be missing from responses. Defaults to `false`.' } }, - withAllowMissing(value=true): { - allowMissing: value, - }, - '#withHeader': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Header name.\nHeader name.' } }, - withHeader(value): { - header: value, - }, - '#withRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Regex that header value should match.\nRegex that header value should match.' } }, - withRegexp(value): { - regexp: value, - }, - }, - '#withFailIfHeaderNotMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Check fails if headers do not match. (see below for nested schema)\nCheck fails if headers do not match.' } }, - withFailIfHeaderNotMatchesRegexp(value): { - failIfHeaderNotMatchesRegexp: - (if std.isArray(value) - then value - else [value]), - }, - '#withFailIfHeaderNotMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Check fails if headers do not match. (see below for nested schema)\nCheck fails if headers do not match.' } }, - withFailIfHeaderNotMatchesRegexpMixin(value): { - failIfHeaderNotMatchesRegexp+: - (if std.isArray(value) - then value - else [value]), - }, - failIfHeaderNotMatchesRegexp+: - { - '#': { help: '', name: 'failIfHeaderNotMatchesRegexp' }, - '#withAllowMissing': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Allow header to be missing from responses. Defaults to false.\nAllow header to be missing from responses. Defaults to `false`.' } }, - withAllowMissing(value=true): { - allowMissing: value, - }, - '#withHeader': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Header name.\nHeader name.' } }, - withHeader(value): { - header: value, - }, - '#withRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Regex that header value should match.\nRegex that header value should match.' } }, - withRegexp(value): { - regexp: value, - }, - }, - '#withFailIfNotSsl': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Fail if SSL is not present. Defaults to false.\nFail if SSL is not present. Defaults to `false`.' } }, - withFailIfNotSsl(value=true): { - failIfNotSsl: value, - }, - '#withFailIfSsl': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Fail if SSL is present. Defaults to false.\nFail if SSL is present. Defaults to `false`.' } }, - withFailIfSsl(value=true): { - failIfSsl: value, - }, - '#withHeaders': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers set for the probe.\nThe HTTP headers set for the probe.' } }, - withHeaders(value): { - headers: - (if std.isArray(value) - then value - else [value]), - }, - '#withHeadersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers set for the probe.\nThe HTTP headers set for the probe.' } }, - withHeadersMixin(value): { - headers+: - (if std.isArray(value) - then value - else [value]), - }, - '#withIpVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." } }, - withIpVersion(value): { - ipVersion: value, - }, - '#withMethod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Request method. One of GET, CONNECT, DELETE, HEAD, OPTIONS, POST, PUT, TRACE Defaults to GET.\nRequest method. One of `GET`, `CONNECT`, `DELETE`, `HEAD`, `OPTIONS`, `POST`, `PUT`, `TRACE` Defaults to `GET`.' } }, - withMethod(value): { - method: value, - }, - '#withNoFollowRedirects': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Do not follow redirects. Defaults to false.\nDo not follow redirects. Defaults to `false`.' } }, - withNoFollowRedirects(value=true): { - noFollowRedirects: value, - }, - '#withProxyConnectHeaders': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers sent to the proxy URL\nThe HTTP headers sent to the proxy URL' } }, - withProxyConnectHeaders(value): { - proxyConnectHeaders: - (if std.isArray(value) - then value - else [value]), - }, - '#withProxyConnectHeadersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers sent to the proxy URL\nThe HTTP headers sent to the proxy URL' } }, - withProxyConnectHeadersMixin(value): { - proxyConnectHeaders+: - (if std.isArray(value) - then value - else [value]), - }, - '#withProxyUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Proxy URL.\nProxy URL.' } }, - withProxyUrl(value): { - proxyUrl: value, - }, - '#withTlsConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, - withTlsConfig(value): { - tlsConfig: - (if std.isArray(value) - then value - else [value]), - }, - '#withTlsConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, - withTlsConfigMixin(value): { - tlsConfig+: - (if std.isArray(value) - then value - else [value]), - }, - tlsConfig+: - { - '#': { help: '', name: 'tlsConfig' }, - '#withCaCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) CA certificate in PEM format.\nCA certificate in PEM format.' } }, - withCaCert(value): { - caCert: value, - }, - '#withClientCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Client certificate in PEM format.\nClient certificate in PEM format.' } }, - withClientCert(value): { - clientCert: value, - }, - '#withClientKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, - withClientKeySecretRef(value): { - clientKeySecretRef: value, - }, - '#withClientKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, - withClientKeySecretRefMixin(value): { - clientKeySecretRef+: value, - }, - clientKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - clientKeySecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - clientKeySecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - clientKeySecretRef+: { - namespace: value, - }, - }, - }, - '#withInsecureSkipVerify': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Disable target certificate validation. Defaults to false.\nDisable target certificate validation. Defaults to `false`.' } }, - withInsecureSkipVerify(value=true): { - insecureSkipVerify: value, - }, - '#withServerName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Used to verify the hostname for the targets.\nUsed to verify the hostname for the targets.' } }, - withServerName(value): { - serverName: value, - }, - }, - '#withValidHttpVersions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of valid HTTP versions. Options include HTTP/1.0, HTTP/1.1, HTTP/2.0\nList of valid HTTP versions. Options include `HTTP/1.0`, `HTTP/1.1`, `HTTP/2.0`' } }, - withValidHttpVersions(value): { - validHttpVersions: - (if std.isArray(value) - then value - else [value]), - }, - '#withValidHttpVersionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of valid HTTP versions. Options include HTTP/1.0, HTTP/1.1, HTTP/2.0\nList of valid HTTP versions. Options include `HTTP/1.0`, `HTTP/1.1`, `HTTP/2.0`' } }, - withValidHttpVersionsMixin(value): { - validHttpVersions+: - (if std.isArray(value) - then value - else [value]), - }, - '#withValidStatusCodes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) Accepted status codes. If unset, defaults to 2xx.\nAccepted status codes. If unset, defaults to 2xx.' } }, - withValidStatusCodes(value): { - validStatusCodes: - (if std.isArray(value) - then value - else [value]), - }, - '#withValidStatusCodesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) Accepted status codes. If unset, defaults to 2xx.\nAccepted status codes. If unset, defaults to 2xx.' } }, - withValidStatusCodesMixin(value): { - validStatusCodes+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withMultihttp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for MultiHTTP check. The target must be a URL (http or https) (see below for nested schema)\nSettings for MultiHTTP check. The target must be a URL (http or https)' } }, - withMultihttp(value): { - multihttp: - (if std.isArray(value) - then value - else [value]), - }, - '#withMultihttpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for MultiHTTP check. The target must be a URL (http or https) (see below for nested schema)\nSettings for MultiHTTP check. The target must be a URL (http or https)' } }, - withMultihttpMixin(value): { - multihttp+: - (if std.isArray(value) - then value - else [value]), - }, - multihttp+: - { - '#': { help: '', name: 'multihttp' }, - '#withEntries': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) (see below for nested schema)' } }, - withEntries(value): { - entries: - (if std.isArray(value) - then value - else [value]), - }, - '#withEntriesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) (see below for nested schema)' } }, - withEntriesMixin(value): { - entries+: - (if std.isArray(value) - then value - else [value]), - }, - entries+: - { - '#': { help: '', name: 'entries' }, - '#withAssertions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Assertions to make on the request response (see below for nested schema)\nAssertions to make on the request response' } }, - withAssertions(value): { - assertions: - (if std.isArray(value) - then value - else [value]), - }, - '#withAssertionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Assertions to make on the request response (see below for nested schema)\nAssertions to make on the request response' } }, - withAssertionsMixin(value): { - assertions+: - (if std.isArray(value) - then value - else [value]), - }, - assertions+: - { - '#': { help: '', name: 'assertions' }, - '#withCondition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The condition of the assertion: NOT_CONTAINS, EQUALS, STARTS_WITH, ENDS_WITH, TYPE_OF, CONTAINS\nThe condition of the assertion: NOT_CONTAINS, EQUALS, STARTS_WITH, ENDS_WITH, TYPE_OF, CONTAINS' } }, - withCondition(value): { - condition: value, - }, - '#withExpression': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The expression of the assertion. Should start with $.\nThe expression of the assertion. Should start with $.' } }, - withExpression(value): { - expression: value, - }, - '#withSubject': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The subject of the assertion: RESPONSE_HEADERS, HTTP_STATUS_CODE, RESPONSE_BODY\nThe subject of the assertion: RESPONSE_HEADERS, HTTP_STATUS_CODE, RESPONSE_BODY' } }, - withSubject(value): { - subject: value, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of assertion to make: TEXT, JSON_PATH_VALUE, JSON_PATH_ASSERTION, REGEX_ASSERTION\nThe type of assertion to make: TEXT, JSON_PATH_VALUE, JSON_PATH_ASSERTION, REGEX_ASSERTION' } }, - withType(value): { - type: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The value of the assertion\nThe value of the assertion' } }, - withValue(value): { - value: value, - }, - }, - '#withRequest': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) An individual MultiHTTP request (see below for nested schema)\nAn individual MultiHTTP request' } }, - withRequest(value): { - request: - (if std.isArray(value) - then value - else [value]), - }, - '#withRequestMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) An individual MultiHTTP request (see below for nested schema)\nAn individual MultiHTTP request' } }, - withRequestMixin(value): { - request+: - (if std.isArray(value) - then value - else [value]), - }, - request+: - { - '#': { help: '', name: 'request' }, - '#withBody': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(String) The body of the HTTP request used in probe.\nThe body of the HTTP request used in probe.' } }, - withBody(value): { - body: - (if std.isArray(value) - then value - else [value]), - }, - '#withBodyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(String) The body of the HTTP request used in probe.\nThe body of the HTTP request used in probe.' } }, - withBodyMixin(value): { - body+: - (if std.isArray(value) - then value - else [value]), - }, - body+: - { - '#': { help: '', name: 'body' }, - '#withContentEncoding': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The content encoding of the body\nThe content encoding of the body' } }, - withContentEncoding(value): { - contentEncoding: value, - }, - '#withContentType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The content type of the body\nThe content type of the body' } }, - withContentType(value): { - contentType: value, - }, - '#withPayload': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The body payload\nThe body payload' } }, - withPayload(value): { - payload: value, - }, - }, - '#withHeaders': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers set for the probe.\nThe headers to send with the request' } }, - withHeaders(value): { - headers: - (if std.isArray(value) - then value - else [value]), - }, - '#withHeadersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers set for the probe.\nThe headers to send with the request' } }, - withHeadersMixin(value): { - headers+: - (if std.isArray(value) - then value - else [value]), - }, - headers+: - { - '#': { help: '', name: 'headers' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the header to send\nName of the header to send' } }, - withName(value): { - name: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The value of the assertion\nValue of the header to send' } }, - withValue(value): { - value: value, - }, - }, - '#withMethod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Request method. One of GET, CONNECT, DELETE, HEAD, OPTIONS, POST, PUT, TRACE Defaults to GET.\nThe HTTP method to use' } }, - withMethod(value): { - method: value, - }, - '#withQueryFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Query fields to send with the request (see below for nested schema)\nQuery fields to send with the request' } }, - withQueryFields(value): { - queryFields: - (if std.isArray(value) - then value - else [value]), - }, - '#withQueryFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Query fields to send with the request (see below for nested schema)\nQuery fields to send with the request' } }, - withQueryFieldsMixin(value): { - queryFields+: - (if std.isArray(value) - then value - else [value]), - }, - queryFields+: - { - '#': { help: '', name: 'queryFields' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the header to send\nName of the query field to send' } }, - withName(value): { - name: value, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The value of the assertion\nValue of the query field to send' } }, - withValue(value): { - value: value, - }, - }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL for the request\nThe URL for the request' } }, - withUrl(value): { - url: value, - }, - }, - '#withVariables': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Variables to extract from the request response (see below for nested schema)\nVariables to extract from the request response' } }, - withVariables(value): { - variables: - (if std.isArray(value) - then value - else [value]), - }, - '#withVariablesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Variables to extract from the request response (see below for nested schema)\nVariables to extract from the request response' } }, - withVariablesMixin(value): { - variables+: - (if std.isArray(value) - then value - else [value]), - }, - variables+: - { - '#': { help: '', name: 'variables' }, - '#withAttribute': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The attribute to use when finding the variable value. Only used when type is CSS_SELECTOR\nThe attribute to use when finding the variable value. Only used when type is CSS_SELECTOR' } }, - withAttribute(value): { - attribute: value, - }, - '#withExpression': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The expression of the assertion. Should start with $.\nThe expression to when finding the variable. Should start with $. Only use when type is JSON_PATH or REGEX' } }, - withExpression(value): { - expression: value, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the header to send\nThe name of the variable to extract' } }, - withName(value): { - name: value, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of assertion to make: TEXT, JSON_PATH_VALUE, JSON_PATH_ASSERTION, REGEX_ASSERTION\nThe method of finding the variable value to extract. JSON_PATH, REGEX, CSS_SELECTOR' } }, - withType(value): { - type: value, - }, - }, - }, - }, - '#withPing': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for ping (ICMP) check. The target must be a valid hostname or IP address. (see below for nested schema)\nSettings for ping (ICMP) check. The target must be a valid hostname or IP address.' } }, - withPing(value): { - ping: - (if std.isArray(value) - then value - else [value]), - }, - '#withPingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for ping (ICMP) check. The target must be a valid hostname or IP address. (see below for nested schema)\nSettings for ping (ICMP) check. The target must be a valid hostname or IP address.' } }, - withPingMixin(value): { - ping+: - (if std.isArray(value) - then value - else [value]), - }, - ping+: - { - '#': { help: '', name: 'ping' }, - '#withDontFragment': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'bit in the IP-header. Only works with ipV4. Defaults to false.\nSet the DF-bit in the IP-header. Only works with ipV4. Defaults to `false`.' } }, - withDontFragment(value=true): { - dontFragment: value, - }, - '#withIpVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." } }, - withIpVersion(value): { - ipVersion: value, - }, - '#withPayloadSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Payload size. Defaults to 0.\nPayload size. Defaults to `0`.' } }, - withPayloadSize(value): { - payloadSize: value, - }, - '#withSourceIpAddress': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Source IP address.\nSource IP address.' } }, - withSourceIpAddress(value): { - sourceIpAddress: value, - }, - }, - '#withScripted': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema)\nSettings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/.' } }, - withScripted(value): { - scripted: - (if std.isArray(value) - then value - else [value]), - }, - '#withScriptedMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema)\nSettings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/.' } }, - withScriptedMixin(value): { - scripted+: - (if std.isArray(value) - then value - else [value]), - }, - scripted+: - { - '#': { help: '', name: 'scripted' }, - '#withScript': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, - withScript(value): { - script: value, - }, - }, - '#withTcp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for TCP check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for TCP check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address.' } }, - withTcp(value): { - tcp: - (if std.isArray(value) - then value - else [value]), - }, - '#withTcpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for TCP check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for TCP check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address.' } }, - withTcpMixin(value): { - tcp+: - (if std.isArray(value) - then value - else [value]), - }, - tcp+: - { - '#': { help: '', name: 'tcp' }, - '#withIpVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." } }, - withIpVersion(value): { - ipVersion: value, - }, - '#withQueryResponse': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The query sent in the TCP probe and the expected associated response. (see below for nested schema)\nThe query sent in the TCP probe and the expected associated response.' } }, - withQueryResponse(value): { - queryResponse: - (if std.isArray(value) - then value - else [value]), - }, - '#withQueryResponseMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The query sent in the TCP probe and the expected associated response. (see below for nested schema)\nThe query sent in the TCP probe and the expected associated response.' } }, - withQueryResponseMixin(value): { - queryResponse+: - (if std.isArray(value) - then value - else [value]), - }, - queryResponse+: - { - '#': { help: '', name: 'queryResponse' }, - '#withExpect': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Response to expect.\nResponse to expect.' } }, - withExpect(value): { - expect: value, - }, - '#withSend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Data to send.\nData to send.' } }, - withSend(value): { - send: value, - }, - '#withStartTls': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Upgrade TCP connection to TLS. Defaults to false.\nUpgrade TCP connection to TLS. Defaults to `false`.' } }, - withStartTls(value=true): { - startTls: value, - }, - }, - '#withSourceIpAddress': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Source IP address.\nSource IP address.' } }, - withSourceIpAddress(value): { - sourceIpAddress: value, - }, - '#withTls': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether or not TLS is used when the connection is initiated. Defaults to false.\nWhether or not TLS is used when the connection is initiated. Defaults to `false`.' } }, - withTls(value=true): { - tls: value, - }, - '#withTlsConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, - withTlsConfig(value): { - tlsConfig: - (if std.isArray(value) - then value - else [value]), - }, - '#withTlsConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, - withTlsConfigMixin(value): { - tlsConfig+: - (if std.isArray(value) - then value - else [value]), - }, - tlsConfig+: - { - '#': { help: '', name: 'tlsConfig' }, - '#withCaCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) CA certificate in PEM format.\nCA certificate in PEM format.' } }, - withCaCert(value): { - caCert: value, - }, - '#withClientCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Client certificate in PEM format.\nClient certificate in PEM format.' } }, - withClientCert(value): { - clientCert: value, - }, - '#withClientKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, - withClientKeySecretRef(value): { - clientKeySecretRef: value, - }, - '#withClientKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, - withClientKeySecretRefMixin(value): { - clientKeySecretRef+: value, - }, - clientKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - clientKeySecretRef+: { - key: value, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - clientKeySecretRef+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - clientKeySecretRef+: { - namespace: value, - }, - }, - }, - '#withInsecureSkipVerify': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Disable target certificate validation. Defaults to false.\nDisable target certificate validation. Defaults to `false`.' } }, - withInsecureSkipVerify(value=true): { - insecureSkipVerify: value, - }, - '#withServerName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Used to verify the hostname for the targets.\nUsed to verify the hostname for the targets.' } }, - withServerName(value): { - serverName: value, - }, - }, - }, - '#withTraceroute': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for traceroute check. The target must be a valid hostname or IP address (see below for nested schema)\nSettings for traceroute check. The target must be a valid hostname or IP address' } }, - withTraceroute(value): { - traceroute: - (if std.isArray(value) - then value - else [value]), - }, - '#withTracerouteMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for traceroute check. The target must be a valid hostname or IP address (see below for nested schema)\nSettings for traceroute check. The target must be a valid hostname or IP address' } }, - withTracerouteMixin(value): { - traceroute+: - (if std.isArray(value) - then value - else [value]), - }, - traceroute+: - { - '#': { help: '', name: 'traceroute' }, - '#withMaxHops': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Maximum TTL for the trace Defaults to 64.\nMaximum TTL for the trace Defaults to `64`.' } }, - withMaxHops(value): { - maxHops: value, - }, - '#withMaxUnknownHops': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Maximum number of hosts to travers that give no response Defaults to 15.\nMaximum number of hosts to travers that give no response Defaults to `15`.' } }, - withMaxUnknownHops(value): { - maxUnknownHops: value, - }, - '#withPtrLookup': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Reverse lookup hostnames from IP addresses Defaults to true.\nReverse lookup hostnames from IP addresses Defaults to `true`.' } }, - withPtrLookup(value=true): { - ptrLookup: value, - }, - }, - }, - '#withTarget': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Hostname to ping.\nHostname to ping.' } }, - withTarget(value): { - spec+: { - parameters+: { - initProvider+: { - target: value, - }, - }, - }, - }, - '#withTimeout': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to 3000.\nSpecifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to `3000`.' } }, - withTimeout(value): { - spec+: { - parameters+: { - initProvider+: { - timeout: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - installation+: - { - '#': { help: '', name: 'installation' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'sm.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'Installation', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'InstallationSpec defines the desired state of Installation' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'InstallationSpec defines the desired state of Installation' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withCloudStackRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackId.' } }, - withCloudStackRef(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef: value, - }, - }, - }, - }, - '#withCloudStackRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackId.' } }, - withCloudStackRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: value, - }, - }, - }, - }, - cloudStackRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withCloudStackSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackId.' } }, - withCloudStackSelector(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector: value, - }, - }, - }, - }, - '#withCloudStackSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackId.' } }, - withCloudStackSelectorMixin(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: value, - }, - }, - }, - }, - cloudStackSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - forProvider+: { - cloudStackSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetricsPublisherKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Grafana Cloud access policy with the following scopes: stacks:read, metrics:write, logs:write, traces:write. This is used to publish metrics and logs to Grafana Cloud stack.\nThe [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.' } }, - withMetricsPublisherKeySecretRef(value): { - spec+: { - parameters+: { - forProvider+: { - metricsPublisherKeySecretRef: value, - }, - }, - }, - }, - '#withMetricsPublisherKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Grafana Cloud access policy with the following scopes: stacks:read, metrics:write, logs:write, traces:write. This is used to publish metrics and logs to Grafana Cloud stack.\nThe [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.' } }, - withMetricsPublisherKeySecretRefMixin(value): { - spec+: { - parameters+: { - forProvider+: { - metricsPublisherKeySecretRef+: value, - }, - }, - }, - }, - metricsPublisherKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - spec+: { - parameters+: { - forProvider+: { - metricsPublisherKeySecretRef+: { - key: value, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - metricsPublisherKeySecretRef+: { - name: value, - }, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - forProvider+: { - metricsPublisherKeySecretRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withStackId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID or slug of the stack to install SM on.\nThe ID or slug of the stack to install SM on.' } }, - withStackId(value): { - spec+: { - parameters+: { - forProvider+: { - stackId: value, - }, - }, - }, - }, - '#withStackSmApiUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.\nThe URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable." } }, - withStackSmApiUrl(value): { - spec+: { - parameters+: { - forProvider+: { - stackSmApiUrl: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withCloudStackRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackId.' } }, - withCloudStackRef(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef: value, - }, - }, - }, - }, - '#withCloudStackRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackId.' } }, - withCloudStackRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: value, - }, - }, - }, - }, - cloudStackRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withCloudStackSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackId.' } }, - withCloudStackSelector(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector: value, - }, - }, - }, - }, - '#withCloudStackSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackId.' } }, - withCloudStackSelectorMixin(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: value, - }, - }, - }, - }, - cloudStackSelector+: - { - '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, - withMatchControllerRef(value=true): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - matchControllerRef: value, - }, - }, - }, - }, - }, - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabels(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - matchLabels: value, - }, - }, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, - withMatchLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - matchLabels+: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicy(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - initProvider+: { - cloudStackSelector+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetricsPublisherKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Grafana Cloud access policy with the following scopes: stacks:read, metrics:write, logs:write, traces:write. This is used to publish metrics and logs to Grafana Cloud stack.\nThe [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.' } }, - withMetricsPublisherKeySecretRef(value): { - spec+: { - parameters+: { - initProvider+: { - metricsPublisherKeySecretRef: value, - }, - }, - }, - }, - '#withMetricsPublisherKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Grafana Cloud access policy with the following scopes: stacks:read, metrics:write, logs:write, traces:write. This is used to publish metrics and logs to Grafana Cloud stack.\nThe [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.' } }, - withMetricsPublisherKeySecretRefMixin(value): { - spec+: { - parameters+: { - initProvider+: { - metricsPublisherKeySecretRef+: value, - }, - }, - }, - }, - metricsPublisherKeySecretRef+: - { - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, - withKey(value): { - spec+: { - parameters+: { - initProvider+: { - metricsPublisherKeySecretRef+: { - key: value, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - metricsPublisherKeySecretRef+: { - name: value, - }, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - initProvider+: { - metricsPublisherKeySecretRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withStackId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID or slug of the stack to install SM on.\nThe ID or slug of the stack to install SM on.' } }, - withStackId(value): { - spec+: { - parameters+: { - initProvider+: { - stackId: value, - }, - }, - }, - }, - '#withStackSmApiUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.\nThe URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable." } }, - withStackSmApiUrl(value): { - spec+: { - parameters+: { - initProvider+: { - stackSmApiUrl: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - probe+: - { - '#': { help: '', name: 'probe' }, - '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, - new(name): - self.withApiVersion() - + self.withKind() - + self.metadata.withName(name), - '#withApiVersion': { 'function': { args: [], help: '' } }, - withApiVersion(): { - apiVersion: 'sm.grafana.crossplane.io.namespaced/v1alpha1', - }, - '#withKind': { 'function': { args: [], help: '' } }, - withKind(): { - kind: 'Probe', - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadata(value): { - metadata: value, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, - withMetadataMixin(value): { - metadata+: value, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotations(value): { - metadata+: { - annotations: value, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, - withAnnotationsMixin(value): { - metadata+: { - annotations+: value, - }, - }, - '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, - withClusterName(value): { - metadata+: { - clusterName: value, - }, - }, - '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withCreationTimestamp(value): { - metadata+: { - creationTimestamp: value, - }, - }, - '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, - withDeletionGracePeriodSeconds(value): { - metadata+: { - deletionGracePeriodSeconds: value, - }, - }, - '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, - withDeletionTimestamp(value): { - metadata+: { - deletionTimestamp: value, - }, - }, - '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizers(value): { - metadata+: { - finalizers: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, - withFinalizersMixin(value): { - metadata+: { - finalizers+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, - withGenerateName(value): { - metadata+: { - generateName: value, - }, - }, - '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, - withGeneration(value): { - metadata+: { - generation: value, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabels(value): { - metadata+: { - labels: value, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, - withLabelsMixin(value): { - metadata+: { - labels+: value, - }, - }, - '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFields(value): { - metadata+: { - managedFields: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, - withManagedFieldsMixin(value): { - metadata+: { - managedFields+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, - withName(value): { - metadata+: { - name: value, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, - withNamespace(value): { - metadata+: { - namespace: value, - }, - }, - '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferences(value): { - metadata+: { - ownerReferences: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, - withOwnerReferencesMixin(value): { - metadata+: { - ownerReferences+: - (if std.isArray(value) - then value - else [value]), - }, - }, - '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, - withResourceVersion(value): { - metadata+: { - resourceVersion: value, - }, - }, - '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, - withSelfLink(value): { - metadata+: { - selfLink: value, - }, - }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, - withUid(value): { - metadata+: { - uid: value, - }, - }, - }, - '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpec(value): { - spec: value, - }, - '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSpecMixin(value): { - spec+: value, - }, - spec+: - { - '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRef(value): { - spec+: { - compositionRef: value, - }, - }, - '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRefMixin(value): { - spec+: { - compositionRef+: value, - }, - }, - compositionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRef(value): { - spec+: { - compositionRevisionRef: value, - }, - }, - '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionRevisionRefMixin(value): { - spec+: { - compositionRevisionRef+: value, - }, - }, - compositionRevisionRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - compositionRevisionRef+: { - name: value, - }, - }, - }, - }, - '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelector(value): { - spec+: { - compositionSelector: value, - }, - }, - '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCompositionSelectorMixin(value): { - spec+: { - compositionSelector+: value, - }, - }, - compositionSelector+: - { - '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabels(value): { - spec+: { - compositionSelector+: { - matchLabels: value, - }, - }, - }, - '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMatchLabelsMixin(value): { - spec+: { - compositionSelector+: { - matchLabels+: value, - }, - }, - }, - }, - '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, - withCompositionUpdatePolicy(value): { - spec+: { - compositionUpdatePolicy: value, - }, - }, - '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ProbeSpec defines the desired state of Probe' } }, - withParameters(value): { - spec+: { - parameters: value, - }, - }, - '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ProbeSpec defines the desired state of Probe' } }, - withParametersMixin(value): { - spec+: { - parameters+: value, - }, - }, - parameters+: - { - '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, - withDeletionPolicy(value='Delete'): { - spec+: { - parameters+: { - deletionPolicy: value, - }, - }, - }, - '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProvider(value): { - spec+: { - parameters+: { - forProvider: value, - }, - }, - }, - '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withForProviderMixin(value): { - spec+: { - parameters+: { - forProvider+: value, - }, - }, - }, - forProvider+: - { - '#withDisableScriptedChecks': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Disables scripted checks for this probe. Defaults to false.\nDisables scripted checks for this probe. Defaults to `false`.' } }, - withDisableScriptedChecks(value=true): { - spec+: { - parameters+: { - forProvider+: { - disableScriptedChecks: value, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Custom labels to be included with collected metrics and logs.\nCustom labels to be included with collected metrics and logs.' } }, - withLabels(value): { - spec+: { - parameters+: { - forProvider+: { - labels: value, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Custom labels to be included with collected metrics and logs.\nCustom labels to be included with collected metrics and logs.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - forProvider+: { - labels+: value, - }, - }, - }, - }, - '#withLatitude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Latitude coordinates.\nLatitude coordinates.' } }, - withLatitude(value): { - spec+: { - parameters+: { - forProvider+: { - latitude: value, - }, - }, - }, - }, - '#withLongitude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Longitude coordinates.\nLongitude coordinates.' } }, - withLongitude(value): { - spec+: { - parameters+: { - forProvider+: { - longitude: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the probe.\nName of the probe.' } }, - withName(value): { - spec+: { - parameters+: { - forProvider+: { - name: value, - }, - }, - }, - }, - '#withPublic': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Public probes are run by Grafana Labs and can be used by all users. Only Grafana Labs managed public probes will be set to true. Defaults to false.\nPublic probes are run by Grafana Labs and can be used by all users. Only Grafana Labs managed public probes will be set to `true`. Defaults to `false`.' } }, - withPublic(value=true): { - spec+: { - parameters+: { - forProvider+: { - public: value, - }, - }, - }, - }, - '#withRegion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Region of the probe.\nRegion of the probe.' } }, - withRegion(value): { - spec+: { - parameters+: { - forProvider+: { - region: value, - }, - }, - }, - }, - }, - '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProvider(value): { - spec+: { - parameters+: { - initProvider: value, - }, - }, - }, - '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, - withInitProviderMixin(value): { - spec+: { - parameters+: { - initProvider+: value, - }, - }, - }, - initProvider+: - { - '#withDisableScriptedChecks': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Disables scripted checks for this probe. Defaults to false.\nDisables scripted checks for this probe. Defaults to `false`.' } }, - withDisableScriptedChecks(value=true): { - spec+: { - parameters+: { - initProvider+: { - disableScriptedChecks: value, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Custom labels to be included with collected metrics and logs.\nCustom labels to be included with collected metrics and logs.' } }, - withLabels(value): { - spec+: { - parameters+: { - initProvider+: { - labels: value, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Custom labels to be included with collected metrics and logs.\nCustom labels to be included with collected metrics and logs.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - initProvider+: { - labels+: value, - }, - }, - }, - }, - '#withLatitude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Latitude coordinates.\nLatitude coordinates.' } }, - withLatitude(value): { - spec+: { - parameters+: { - initProvider+: { - latitude: value, - }, - }, - }, - }, - '#withLongitude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Longitude coordinates.\nLongitude coordinates.' } }, - withLongitude(value): { - spec+: { - parameters+: { - initProvider+: { - longitude: value, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the probe.\nName of the probe.' } }, - withName(value): { - spec+: { - parameters+: { - initProvider+: { - name: value, - }, - }, - }, - }, - '#withPublic': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Public probes are run by Grafana Labs and can be used by all users. Only Grafana Labs managed public probes will be set to true. Defaults to false.\nPublic probes are run by Grafana Labs and can be used by all users. Only Grafana Labs managed public probes will be set to `true`. Defaults to `false`.' } }, - withPublic(value=true): { - spec+: { - parameters+: { - initProvider+: { - public: value, - }, - }, - }, - }, - '#withRegion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Region of the probe.\nRegion of the probe.' } }, - withRegion(value): { - spec+: { - parameters+: { - initProvider+: { - region: value, - }, - }, - }, - }, - }, - '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPolicies(value): { - spec+: { - parameters+: { - managementPolicies: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, - withManagementPoliciesMixin(value): { - spec+: { - parameters+: { - managementPolicies+: - (if std.isArray(value) - then value - else [value]), - }, - }, - }, - '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - providerConfigRef: value, - }, - }, - }, - '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, - withProviderConfigRefMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: value, - }, - }, - }, - providerConfigRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - providerConfigRef+: { - name: value, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy: value, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: value, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - providerConfigRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsTo(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo: value, - }, - }, - }, - '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, - withPublishConnectionDetailsToMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: value, - }, - }, - }, - publishConnectionDetailsTo+: - { - '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRef(value={ name: 'default' }): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef: value, - }, - }, - }, - }, - '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, - withConfigRefMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: value, - }, - }, - }, - }, - configRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - name: value, - }, - }, - }, - }, - }, - '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicy(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy: value, - }, - }, - }, - }, - }, - '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, - withPolicyMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: value, - }, - }, - }, - }, - }, - policy+: - { - '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, - withResolution(value='Required'): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolution: value, - }, - }, - }, - }, - }, - }, - '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, - withResolve(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - configRef+: { - policy+: { - resolve: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadata(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata: value, - }, - }, - }, - }, - '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, - withMetadataMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: value, - }, - }, - }, - }, - metadata+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotations(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations: value, - }, - }, - }, - }, - }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, - withAnnotationsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - annotations+: value, - }, - }, - }, - }, - }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabels(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels: value, - }, - }, - }, - }, - }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, - withLabelsMixin(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - labels+: value, - }, - }, - }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, - withType(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - metadata+: { - type: value, - }, - }, - }, - }, - }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, - withName(value): { - spec+: { - parameters+: { - publishConnectionDetailsTo+: { - name: value, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef: value, - }, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: value, - }, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, - withName(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, - withNamespace(value): { - spec+: { - parameters+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRef(value): { - spec+: { - writeConnectionSecretToRef: value, - }, - }, - '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWriteConnectionSecretToRefMixin(value): { - spec+: { - writeConnectionSecretToRef+: value, - }, - }, - writeConnectionSecretToRef+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { - spec+: { - writeConnectionSecretToRef+: { - name: value, - }, - }, - }, - '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { - spec+: { - writeConnectionSecretToRef+: { - namespace: value, - }, - }, - }, - }, - }, - }, - }, - }, - '#': { filename: 'main.libsonnet', help: 'Jsonnet library providing a namespaced set of compositions/XRDs for the Grafana Crossplane provider. The compositions, XRDs and the library for creating the XRD objects is generated.\n\nThe compositions/XRDs can be imported like this:\n\n```jsonnet\nlocal compositions = import "github.com/Duologic/grafana-crossplane-libsonnet/grafanaplane/compositions.libsonnet"\n\n[\n # Each composition has a `definition` and `composition` key\n compositions.oss.v1alpha1.folder.composition,\n compositions.oss.v1alpha1.folder.definition,\n\n # When using Tanka, then providing the higher level objects is also possible\n compositions.cloud.v1alpha1.stack, # a composition/XRD pair\n compositions.oss, # whole group of composition/XRD pairs\n]\n```\n\nThe library in `main.libsonnet` can be used to build objects for these XRDs.\n\n\n## Install\n\n```\njb install github.com/Duologic/grafana-crossplane-libsonnet/grafanaplane@0.0.1-0.18.0\n```\n\n## Usage\n\n```jsonnet\nlocal grafanaplane = import "github.com/Duologic/grafana-crossplane-libsonnet/grafanaplane/main.libsonnet"\n```\n', 'import': 'github.com/Duologic/grafana-crossplane-libsonnet/grafanaplane/main.libsonnet', installTemplate: '\n## Install\n\n```\njb install %(url)s@%(version)s\n```\n', name: 'grafanaplane', url: 'github.com/Duologic/grafana-crossplane-libsonnet/grafanaplane', usageTemplate: '\n## Usage\n\n```jsonnet\nlocal %(name)s = import "%(import)s"\n```\n', version: '0.0.1-0.18.0' }, -} diff --git a/grafanaplane/slo/main.libsonnet b/grafanaplane/slo/main.libsonnet new file mode 100644 index 0000000..720d08d --- /dev/null +++ b/grafanaplane/slo/main.libsonnet @@ -0,0 +1,4 @@ +{ + '#': { help: '', name: 'slo' }, + v1alpha1+: import './v1alpha1/main.libsonnet', +} diff --git a/grafanaplane/slo/v1alpha1/main.libsonnet b/grafanaplane/slo/v1alpha1/main.libsonnet new file mode 100644 index 0000000..99dd1b9 --- /dev/null +++ b/grafanaplane/slo/v1alpha1/main.libsonnet @@ -0,0 +1,3 @@ +{ + slo+: import './slo/main.libsonnet', +} diff --git a/grafanaplane/slo/v1alpha1/slo/main.libsonnet b/grafanaplane/slo/v1alpha1/slo/main.libsonnet new file mode 100644 index 0000000..c5b7dc6 --- /dev/null +++ b/grafanaplane/slo/v1alpha1/slo/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'slo' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'slo.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'SLO', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/slo/v1alpha1/slo/metadata/main.libsonnet b/grafanaplane/slo/v1alpha1/slo/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/slo/v1alpha1/slo/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/slo/v1alpha1/slo/spec/compositionRef.libsonnet b/grafanaplane/slo/v1alpha1/slo/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/slo/v1alpha1/slo/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/slo/v1alpha1/slo/spec/compositionRevisionRef.libsonnet b/grafanaplane/slo/v1alpha1/slo/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/slo/v1alpha1/slo/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/slo/v1alpha1/slo/spec/compositionSelector.libsonnet b/grafanaplane/slo/v1alpha1/slo/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/slo/v1alpha1/slo/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/slo/v1alpha1/slo/spec/main.libsonnet b/grafanaplane/slo/v1alpha1/slo/spec/main.libsonnet new file mode 100644 index 0000000..78f7965 --- /dev/null +++ b/grafanaplane/slo/v1alpha1/slo/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'SLOSpec defines the desired state of SLO' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'SLOSpec defines the desired state of SLO' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/slo/v1alpha1/slo/spec/parameters.libsonnet b/grafanaplane/slo/v1alpha1/slo/spec/parameters.libsonnet new file mode 100644 index 0000000..6840c3d --- /dev/null +++ b/grafanaplane/slo/v1alpha1/slo/spec/parameters.libsonnet @@ -0,0 +1,1563 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withAlerting': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'term error budget burn is very high, the\nlong-term error budget burn rate is high, or when the remaining\nerror budget is below a certain threshold. Annotations and Labels support templating. (see below for nested schema)\nConfigures the alerting rules that will be generated for each\ntime window associated with the SLO. Grafana SLOs can generate\nalerts when the short-term error budget burn is very high, the\nlong-term error budget burn rate is high, or when the remaining\nerror budget is below a certain threshold. Annotations and Labels support templating.' } }, + withAlerting(value): { + spec+: { + parameters+: { + forProvider+: { + alerting: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withAlertingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'term error budget burn is very high, the\nlong-term error budget burn rate is high, or when the remaining\nerror budget is below a certain threshold. Annotations and Labels support templating. (see below for nested schema)\nConfigures the alerting rules that will be generated for each\ntime window associated with the SLO. Grafana SLOs can generate\nalerts when the short-term error budget burn is very high, the\nlong-term error budget burn rate is high, or when the remaining\nerror budget is below a certain threshold. Annotations and Labels support templating.' } }, + withAlertingMixin(value): { + spec+: { + parameters+: { + forProvider+: { + alerting+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + alerting+: + { + '#': { help: '', name: 'alerting' }, + '#withAdvancedOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Advanced Options for Alert Rules (see below for nested schema)\nAdvanced Options for Alert Rules' } }, + withAdvancedOptions(value): { + advancedOptions: + (if std.isArray(value) + then value + else [value]), + }, + '#withAdvancedOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Advanced Options for Alert Rules (see below for nested schema)\nAdvanced Options for Alert Rules' } }, + withAdvancedOptionsMixin(value): { + advancedOptions+: + (if std.isArray(value) + then value + else [value]), + }, + advancedOptions+: + { + '#': { help: '', name: 'advancedOptions' }, + '#withMinFailures': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Minimum number of failed events to trigger an alert\nMinimum number of failed events to trigger an alert' } }, + withMinFailures(value): { + minFailures: value, + }, + }, + '#withAnnotation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations will be attached to all alerts generated by any of these rules.' } }, + withAnnotation(value): { + annotation: + (if std.isArray(value) + then value + else [value]), + }, + '#withAnnotationMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations will be attached to all alerts generated by any of these rules.' } }, + withAnnotationMixin(value): { + annotation+: + (if std.isArray(value) + then value + else [value]), + }, + annotation+: + { + '#': { help: '', name: 'annotation' }, + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withKey(value): { + key: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, + withValue(value): { + value: value, + }, + }, + '#withFastburn': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Alerting Rules generated for Fast Burn alerts (see below for nested schema)\nAlerting Rules generated for Fast Burn alerts' } }, + withFastburn(value): { + fastburn: + (if std.isArray(value) + then value + else [value]), + }, + '#withFastburnMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Alerting Rules generated for Fast Burn alerts (see below for nested schema)\nAlerting Rules generated for Fast Burn alerts' } }, + withFastburnMixin(value): { + fastburn+: + (if std.isArray(value) + then value + else [value]), + }, + fastburn+: + { + '#': { help: '', name: 'fastburn' }, + '#withAnnotation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations to attach only to Fast Burn alerts.' } }, + withAnnotation(value): { + annotation: + (if std.isArray(value) + then value + else [value]), + }, + '#withAnnotationMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations to attach only to Fast Burn alerts.' } }, + withAnnotationMixin(value): { + annotation+: + (if std.isArray(value) + then value + else [value]), + }, + annotation+: + { + '#': { help: '', name: 'annotation' }, + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withKey(value): { + key: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, + withValue(value): { + value: value, + }, + }, + '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels to attach only to Fast Burn alerts.' } }, + withLabel(value): { + label: + (if std.isArray(value) + then value + else [value]), + }, + '#withLabelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels to attach only to Fast Burn alerts.' } }, + withLabelMixin(value): { + label+: + (if std.isArray(value) + then value + else [value]), + }, + label+: + { + '#': { help: '', name: 'label' }, + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withKey(value): { + key: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, + withValue(value): { + value: value, + }, + }, + }, + '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels will be attached to all alerts generated by any of these rules.' } }, + withLabel(value): { + label: + (if std.isArray(value) + then value + else [value]), + }, + '#withLabelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels will be attached to all alerts generated by any of these rules.' } }, + withLabelMixin(value): { + label+: + (if std.isArray(value) + then value + else [value]), + }, + label+: + { + '#': { help: '', name: 'label' }, + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withKey(value): { + key: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, + withValue(value): { + value: value, + }, + }, + '#withSlowburn': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Alerting Rules generated for Slow Burn alerts (see below for nested schema)\nAlerting Rules generated for Slow Burn alerts' } }, + withSlowburn(value): { + slowburn: + (if std.isArray(value) + then value + else [value]), + }, + '#withSlowburnMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Alerting Rules generated for Slow Burn alerts (see below for nested schema)\nAlerting Rules generated for Slow Burn alerts' } }, + withSlowburnMixin(value): { + slowburn+: + (if std.isArray(value) + then value + else [value]), + }, + slowburn+: + { + '#': { help: '', name: 'slowburn' }, + '#withAnnotation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations to attach only to Slow Burn alerts.' } }, + withAnnotation(value): { + annotation: + (if std.isArray(value) + then value + else [value]), + }, + '#withAnnotationMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations to attach only to Slow Burn alerts.' } }, + withAnnotationMixin(value): { + annotation+: + (if std.isArray(value) + then value + else [value]), + }, + annotation+: + { + '#': { help: '', name: 'annotation' }, + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withKey(value): { + key: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, + withValue(value): { + value: value, + }, + }, + '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels to attach only to Slow Burn alerts.' } }, + withLabel(value): { + label: + (if std.isArray(value) + then value + else [value]), + }, + '#withLabelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels to attach only to Slow Burn alerts.' } }, + withLabelMixin(value): { + label+: + (if std.isArray(value) + then value + else [value]), + }, + label+: + { + '#': { help: '', name: 'label' }, + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withKey(value): { + key: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, + withValue(value): { + value: value, + }, + }, + }, + }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'text field that can provide more context to an SLO.\nDescription is a free-text field that can provide more context to an SLO.' } }, + withDescription(value): { + spec+: { + parameters+: { + forProvider+: { + description: value, + }, + }, + }, + }, + '#withDestinationDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema)\nDestination Datasource sets the datasource defined for an SLO' } }, + withDestinationDatasource(value): { + spec+: { + parameters+: { + forProvider+: { + destinationDatasource: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withDestinationDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema)\nDestination Datasource sets the datasource defined for an SLO' } }, + withDestinationDatasourceMixin(value): { + spec+: { + parameters+: { + forProvider+: { + destinationDatasource+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + destinationDatasource+: + { + '#': { help: '', name: 'destinationDatasource' }, + '#withRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate uid.' } }, + withRef(value): { + ref: value, + }, + '#withRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate uid.' } }, + withRefMixin(value): { + ref+: value, + }, + ref+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + ref+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + ref+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + ref+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + ref+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + ref+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate uid.' } }, + withSelector(value): { + selector: value, + }, + '#withSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate uid.' } }, + withSelectorMixin(value): { + selector+: value, + }, + selector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + selector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + selector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + selector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + selector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + selector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + selector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + selector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) UID for the Mimir Datasource\nUID for the Mimir Datasource' } }, + withUid(value): { + uid: value, + }, + }, + '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) UID for the SLO folder\nUID for the SLO folder' } }, + withFolderUid(value): { + spec+: { + parameters+: { + forProvider+: { + folderUid: value, + }, + }, + }, + }, + '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nAdditional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"' } }, + withLabel(value): { + spec+: { + parameters+: { + forProvider+: { + label: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withLabelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nAdditional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"' } }, + withLabelMixin(value): { + spec+: { + parameters+: { + forProvider+: { + label+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + label+: + { + '#': { help: '', name: 'label' }, + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withKey(value): { + key: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, + withValue(value): { + value: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name should be a short description of your indicator. Consider names like "API Availability"\nName should be a short description of your indicator. Consider names like "API Availability"' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withObjectives': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget. (see below for nested schema)\nOver each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.' } }, + withObjectives(value): { + spec+: { + parameters+: { + forProvider+: { + objectives: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withObjectivesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget. (see below for nested schema)\nOver each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.' } }, + withObjectivesMixin(value): { + spec+: { + parameters+: { + forProvider+: { + objectives+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + objectives+: + { + '#': { help: '', name: 'objectives' }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.\nValue between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, + withValue(value): { + value: value, + }, + '#withWindow': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'parsable time duration string like 24h, 60m. This is the time window the objective is measured over.\nA Prometheus-parsable time duration string like 24h, 60m. This is the time window the objective is measured over.' } }, + withWindow(value): { + window: value, + }, + }, + '#withQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported. (see below for nested schema)\nQuery describes the indicator that will be measured against the objective. Freeform Query types are currently supported.' } }, + withQuery(value): { + spec+: { + parameters+: { + forProvider+: { + query: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported. (see below for nested schema)\nQuery describes the indicator that will be measured against the objective. Freeform Query types are currently supported.' } }, + withQueryMixin(value): { + spec+: { + parameters+: { + forProvider+: { + query+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + query+: + { + '#': { help: '', name: 'query' }, + '#withFreeform': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, + withFreeform(value): { + freeform: + (if std.isArray(value) + then value + else [value]), + }, + '#withFreeformMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, + withFreeformMixin(value): { + freeform+: + (if std.isArray(value) + then value + else [value]), + }, + freeform+: + { + '#': { help: '', name: 'freeform' }, + '#withQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Block List, Min: 1) Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported. (see below for nested schema)\nFreeform Query Field' } }, + withQuery(value): { + query: value, + }, + }, + '#withRatio': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, + withRatio(value): { + ratio: + (if std.isArray(value) + then value + else [value]), + }, + '#withRatioMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, + withRatioMixin(value): { + ratio+: + (if std.isArray(value) + then value + else [value]), + }, + ratio+: + { + '#': { help: '', name: 'ratio' }, + '#withGroupByLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"\nDefines Group By Labels used for per-label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"' } }, + withGroupByLabels(value): { + groupByLabels: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupByLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"\nDefines Group By Labels used for per-label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"' } }, + withGroupByLabelsMixin(value): { + groupByLabels+: + (if std.isArray(value) + then value + else [value]), + }, + '#withSuccessMetric': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Counter metric for success events (numerator)\nCounter metric for success events (numerator)' } }, + withSuccessMetric(value): { + successMetric: value, + }, + '#withTotalMetric': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Metric for total events (denominator)\nMetric for total events (denominator)' } }, + withTotalMetric(value): { + totalMetric: value, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Query type must be one of: "freeform", "query", "ratio", or "threshold"\nQuery type must be one of: "freeform", "query", "ratio", or "threshold"' } }, + withType(value): { + type: value, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withAlerting': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'term error budget burn is very high, the\nlong-term error budget burn rate is high, or when the remaining\nerror budget is below a certain threshold. Annotations and Labels support templating. (see below for nested schema)\nConfigures the alerting rules that will be generated for each\ntime window associated with the SLO. Grafana SLOs can generate\nalerts when the short-term error budget burn is very high, the\nlong-term error budget burn rate is high, or when the remaining\nerror budget is below a certain threshold. Annotations and Labels support templating.' } }, + withAlerting(value): { + spec+: { + parameters+: { + initProvider+: { + alerting: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withAlertingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'term error budget burn is very high, the\nlong-term error budget burn rate is high, or when the remaining\nerror budget is below a certain threshold. Annotations and Labels support templating. (see below for nested schema)\nConfigures the alerting rules that will be generated for each\ntime window associated with the SLO. Grafana SLOs can generate\nalerts when the short-term error budget burn is very high, the\nlong-term error budget burn rate is high, or when the remaining\nerror budget is below a certain threshold. Annotations and Labels support templating.' } }, + withAlertingMixin(value): { + spec+: { + parameters+: { + initProvider+: { + alerting+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + alerting+: + { + '#': { help: '', name: 'alerting' }, + '#withAdvancedOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Advanced Options for Alert Rules (see below for nested schema)\nAdvanced Options for Alert Rules' } }, + withAdvancedOptions(value): { + advancedOptions: + (if std.isArray(value) + then value + else [value]), + }, + '#withAdvancedOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Advanced Options for Alert Rules (see below for nested schema)\nAdvanced Options for Alert Rules' } }, + withAdvancedOptionsMixin(value): { + advancedOptions+: + (if std.isArray(value) + then value + else [value]), + }, + advancedOptions+: + { + '#': { help: '', name: 'advancedOptions' }, + '#withMinFailures': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Minimum number of failed events to trigger an alert\nMinimum number of failed events to trigger an alert' } }, + withMinFailures(value): { + minFailures: value, + }, + }, + '#withAnnotation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations will be attached to all alerts generated by any of these rules.' } }, + withAnnotation(value): { + annotation: + (if std.isArray(value) + then value + else [value]), + }, + '#withAnnotationMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations will be attached to all alerts generated by any of these rules.' } }, + withAnnotationMixin(value): { + annotation+: + (if std.isArray(value) + then value + else [value]), + }, + annotation+: + { + '#': { help: '', name: 'annotation' }, + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withKey(value): { + key: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, + withValue(value): { + value: value, + }, + }, + '#withFastburn': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Alerting Rules generated for Fast Burn alerts (see below for nested schema)\nAlerting Rules generated for Fast Burn alerts' } }, + withFastburn(value): { + fastburn: + (if std.isArray(value) + then value + else [value]), + }, + '#withFastburnMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Alerting Rules generated for Fast Burn alerts (see below for nested schema)\nAlerting Rules generated for Fast Burn alerts' } }, + withFastburnMixin(value): { + fastburn+: + (if std.isArray(value) + then value + else [value]), + }, + fastburn+: + { + '#': { help: '', name: 'fastburn' }, + '#withAnnotation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations to attach only to Fast Burn alerts.' } }, + withAnnotation(value): { + annotation: + (if std.isArray(value) + then value + else [value]), + }, + '#withAnnotationMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations to attach only to Fast Burn alerts.' } }, + withAnnotationMixin(value): { + annotation+: + (if std.isArray(value) + then value + else [value]), + }, + annotation+: + { + '#': { help: '', name: 'annotation' }, + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withKey(value): { + key: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, + withValue(value): { + value: value, + }, + }, + '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels to attach only to Fast Burn alerts.' } }, + withLabel(value): { + label: + (if std.isArray(value) + then value + else [value]), + }, + '#withLabelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels to attach only to Fast Burn alerts.' } }, + withLabelMixin(value): { + label+: + (if std.isArray(value) + then value + else [value]), + }, + label+: + { + '#': { help: '', name: 'label' }, + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withKey(value): { + key: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, + withValue(value): { + value: value, + }, + }, + }, + '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels will be attached to all alerts generated by any of these rules.' } }, + withLabel(value): { + label: + (if std.isArray(value) + then value + else [value]), + }, + '#withLabelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels will be attached to all alerts generated by any of these rules.' } }, + withLabelMixin(value): { + label+: + (if std.isArray(value) + then value + else [value]), + }, + label+: + { + '#': { help: '', name: 'label' }, + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withKey(value): { + key: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, + withValue(value): { + value: value, + }, + }, + '#withSlowburn': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Alerting Rules generated for Slow Burn alerts (see below for nested schema)\nAlerting Rules generated for Slow Burn alerts' } }, + withSlowburn(value): { + slowburn: + (if std.isArray(value) + then value + else [value]), + }, + '#withSlowburnMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Alerting Rules generated for Slow Burn alerts (see below for nested schema)\nAlerting Rules generated for Slow Burn alerts' } }, + withSlowburnMixin(value): { + slowburn+: + (if std.isArray(value) + then value + else [value]), + }, + slowburn+: + { + '#': { help: '', name: 'slowburn' }, + '#withAnnotation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations to attach only to Slow Burn alerts.' } }, + withAnnotation(value): { + annotation: + (if std.isArray(value) + then value + else [value]), + }, + '#withAnnotationMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations to attach only to Slow Burn alerts.' } }, + withAnnotationMixin(value): { + annotation+: + (if std.isArray(value) + then value + else [value]), + }, + annotation+: + { + '#': { help: '', name: 'annotation' }, + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withKey(value): { + key: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, + withValue(value): { + value: value, + }, + }, + '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels to attach only to Slow Burn alerts.' } }, + withLabel(value): { + label: + (if std.isArray(value) + then value + else [value]), + }, + '#withLabelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nLabels to attach only to Slow Burn alerts.' } }, + withLabelMixin(value): { + label+: + (if std.isArray(value) + then value + else [value]), + }, + label+: + { + '#': { help: '', name: 'label' }, + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withKey(value): { + key: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, + withValue(value): { + value: value, + }, + }, + }, + }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'text field that can provide more context to an SLO.\nDescription is a free-text field that can provide more context to an SLO.' } }, + withDescription(value): { + spec+: { + parameters+: { + initProvider+: { + description: value, + }, + }, + }, + }, + '#withDestinationDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema)\nDestination Datasource sets the datasource defined for an SLO' } }, + withDestinationDatasource(value): { + spec+: { + parameters+: { + initProvider+: { + destinationDatasource: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withDestinationDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema)\nDestination Datasource sets the datasource defined for an SLO' } }, + withDestinationDatasourceMixin(value): { + spec+: { + parameters+: { + initProvider+: { + destinationDatasource+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + destinationDatasource+: + { + '#': { help: '', name: 'destinationDatasource' }, + '#withRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate uid.' } }, + withRef(value): { + ref: value, + }, + '#withRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a DataSource in oss to populate uid.' } }, + withRefMixin(value): { + ref+: value, + }, + ref+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + ref+: { + name: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + ref+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + ref+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + ref+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + ref+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate uid.' } }, + withSelector(value): { + selector: value, + }, + '#withSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a DataSource in oss to populate uid.' } }, + withSelectorMixin(value): { + selector+: value, + }, + selector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + selector+: { + matchControllerRef: value, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + selector+: { + matchLabels: value, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + selector+: { + matchLabels+: value, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + selector+: { + policy: value, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + selector+: { + policy+: value, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + selector+: { + policy+: { + resolution: value, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + selector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) UID for the Mimir Datasource\nUID for the Mimir Datasource' } }, + withUid(value): { + uid: value, + }, + }, + '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) UID for the SLO folder\nUID for the SLO folder' } }, + withFolderUid(value): { + spec+: { + parameters+: { + initProvider+: { + folderUid: value, + }, + }, + }, + }, + '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nAdditional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"' } }, + withLabel(value): { + spec+: { + parameters+: { + initProvider+: { + label: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withLabelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema)\nAdditional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"' } }, + withLabelMixin(value): { + spec+: { + parameters+: { + initProvider+: { + label+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + label+: + { + '#': { help: '', name: 'label' }, + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withKey(value): { + key: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, + withValue(value): { + value: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name should be a short description of your indicator. Consider names like "API Availability"\nName should be a short description of your indicator. Consider names like "API Availability"' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withObjectives': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget. (see below for nested schema)\nOver each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.' } }, + withObjectives(value): { + spec+: { + parameters+: { + initProvider+: { + objectives: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withObjectivesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget. (see below for nested schema)\nOver each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.' } }, + withObjectivesMixin(value): { + spec+: { + parameters+: { + initProvider+: { + objectives+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + objectives+: + { + '#': { help: '', name: 'objectives' }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Value between 0 and 1. If the value of the query is above the objective, the SLO is met.\nValue between 0 and 1. If the value of the query is above the objective, the SLO is met.' } }, + withValue(value): { + value: value, + }, + '#withWindow': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'parsable time duration string like 24h, 60m. This is the time window the objective is measured over.\nA Prometheus-parsable time duration string like 24h, 60m. This is the time window the objective is measured over.' } }, + withWindow(value): { + window: value, + }, + }, + '#withQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported. (see below for nested schema)\nQuery describes the indicator that will be measured against the objective. Freeform Query types are currently supported.' } }, + withQuery(value): { + spec+: { + parameters+: { + initProvider+: { + query: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1) Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported. (see below for nested schema)\nQuery describes the indicator that will be measured against the objective. Freeform Query types are currently supported.' } }, + withQueryMixin(value): { + spec+: { + parameters+: { + initProvider+: { + query+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + query+: + { + '#': { help: '', name: 'query' }, + '#withFreeform': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, + withFreeform(value): { + freeform: + (if std.isArray(value) + then value + else [value]), + }, + '#withFreeformMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, + withFreeformMixin(value): { + freeform+: + (if std.isArray(value) + then value + else [value]), + }, + freeform+: + { + '#': { help: '', name: 'freeform' }, + '#withQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Block List, Min: 1) Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported. (see below for nested schema)\nFreeform Query Field' } }, + withQuery(value): { + query: value, + }, + }, + '#withRatio': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, + withRatio(value): { + ratio: + (if std.isArray(value) + then value + else [value]), + }, + '#withRatioMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Max: 1) (see below for nested schema)' } }, + withRatioMixin(value): { + ratio+: + (if std.isArray(value) + then value + else [value]), + }, + ratio+: + { + '#': { help: '', name: 'ratio' }, + '#withGroupByLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"\nDefines Group By Labels used for per-label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"' } }, + withGroupByLabels(value): { + groupByLabels: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupByLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"\nDefines Group By Labels used for per-label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"' } }, + withGroupByLabelsMixin(value): { + groupByLabels+: + (if std.isArray(value) + then value + else [value]), + }, + '#withSuccessMetric': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Counter metric for success events (numerator)\nCounter metric for success events (numerator)' } }, + withSuccessMetric(value): { + successMetric: value, + }, + '#withTotalMetric': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Metric for total events (denominator)\nMetric for total events (denominator)' } }, + withTotalMetric(value): { + totalMetric: value, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Query type must be one of: "freeform", "query", "ratio", or "threshold"\nQuery type must be one of: "freeform", "query", "ratio", or "threshold"' } }, + withType(value): { + type: value, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/slo/v1alpha1/slo/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/slo/v1alpha1/slo/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/slo/v1alpha1/slo/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/sm/main.libsonnet b/grafanaplane/sm/main.libsonnet new file mode 100644 index 0000000..68c801d --- /dev/null +++ b/grafanaplane/sm/main.libsonnet @@ -0,0 +1,4 @@ +{ + '#': { help: '', name: 'sm' }, + v1alpha1+: import './v1alpha1/main.libsonnet', +} diff --git a/grafanaplane/sm/v1alpha1/check/main.libsonnet b/grafanaplane/sm/v1alpha1/check/main.libsonnet new file mode 100644 index 0000000..c5c2e2c --- /dev/null +++ b/grafanaplane/sm/v1alpha1/check/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'check' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'sm.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'Check', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/sm/v1alpha1/check/metadata/main.libsonnet b/grafanaplane/sm/v1alpha1/check/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/sm/v1alpha1/check/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/sm/v1alpha1/check/spec/compositionRef.libsonnet b/grafanaplane/sm/v1alpha1/check/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/sm/v1alpha1/check/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/sm/v1alpha1/check/spec/compositionRevisionRef.libsonnet b/grafanaplane/sm/v1alpha1/check/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/sm/v1alpha1/check/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/sm/v1alpha1/check/spec/compositionSelector.libsonnet b/grafanaplane/sm/v1alpha1/check/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/sm/v1alpha1/check/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/sm/v1alpha1/check/spec/main.libsonnet b/grafanaplane/sm/v1alpha1/check/spec/main.libsonnet new file mode 100644 index 0000000..bee9a55 --- /dev/null +++ b/grafanaplane/sm/v1alpha1/check/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'CheckSpec defines the desired state of Check' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'CheckSpec defines the desired state of Check' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/sm/v1alpha1/check/spec/parameters.libsonnet b/grafanaplane/sm/v1alpha1/check/spec/parameters.libsonnet new file mode 100644 index 0000000..ae27cea --- /dev/null +++ b/grafanaplane/sm/v1alpha1/check/spec/parameters.libsonnet @@ -0,0 +1,2677 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withAlertSensitivity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Can be set to none, low, medium, or high to correspond to the check alert levels. Defaults to none.\nCan be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/). Defaults to `none`.' } }, + withAlertSensitivity(value): { + spec+: { + parameters+: { + forProvider+: { + alertSensitivity: value, + }, + }, + }, + }, + '#withBasicMetricsOnly': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Metrics are reduced by default. Set this to false if you'd like to publish all metrics. We maintain a full list of metrics collected for each. Defaults to true.\nMetrics are reduced by default. Set this to `false` if you'd like to publish all metrics. We maintain a [full list of metrics](https://github.com/grafana/synthetic-monitoring-agent/tree/main/internal/scraper/testdata) collected for each. Defaults to `true`." } }, + withBasicMetricsOnly(value=true): { + spec+: { + parameters+: { + forProvider+: { + basicMetricsOnly: value, + }, + }, + }, + }, + '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to enable the check. Defaults to true.\nWhether to enable the check. Defaults to `true`.' } }, + withEnabled(value=true): { + spec+: { + parameters+: { + forProvider+: { + enabled: value, + }, + }, + }, + }, + '#withFrequency': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to 60000.\nHow often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to `60000`.' } }, + withFrequency(value): { + spec+: { + parameters+: { + forProvider+: { + frequency: value, + }, + }, + }, + }, + '#withJob': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name used for job label.\nName used for job label.' } }, + withJob(value): { + spec+: { + parameters+: { + forProvider+: { + job: value, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.\nCustom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.' } }, + withLabels(value): { + spec+: { + parameters+: { + forProvider+: { + labels: value, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.\nCustom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + labels+: value, + }, + }, + }, + }, + '#withProbes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) List of probe location IDs where this target will be checked from.\nList of probe location IDs where this target will be checked from.' } }, + withProbes(value): { + spec+: { + parameters+: { + forProvider+: { + probes: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withProbesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) List of probe location IDs where this target will be checked from.\nList of probe location IDs where this target will be checked from.' } }, + withProbesMixin(value): { + spec+: { + parameters+: { + forProvider+: { + probes+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1, Max: 1) Check settings. Should contain exactly one nested block. (see below for nested schema)\nCheck settings. Should contain exactly one nested block.' } }, + withSettings(value): { + spec+: { + parameters+: { + forProvider+: { + settings: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1, Max: 1) Check settings. Should contain exactly one nested block. (see below for nested schema)\nCheck settings. Should contain exactly one nested block.' } }, + withSettingsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + settings+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + settings+: + { + '#': { help: '', name: 'settings' }, + '#withDns': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for DNS check. The target must be a valid hostname (or IP address for PTR records). (see below for nested schema)\nSettings for DNS check. The target must be a valid hostname (or IP address for `PTR` records).' } }, + withDns(value): { + dns: + (if std.isArray(value) + then value + else [value]), + }, + '#withDnsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for DNS check. The target must be a valid hostname (or IP address for PTR records). (see below for nested schema)\nSettings for DNS check. The target must be a valid hostname (or IP address for `PTR` records).' } }, + withDnsMixin(value): { + dns+: + (if std.isArray(value) + then value + else [value]), + }, + dns+: + { + '#': { help: '', name: 'dns' }, + '#withIpVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." } }, + withIpVersion(value): { + ipVersion: value, + }, + '#withPort': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Port to target. Defaults to 53.\nPort to target. Defaults to `53`.' } }, + withPort(value): { + port: value, + }, + '#withProtocol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) TCP or UDP. Defaults to UDP.\n`TCP` or `UDP`. Defaults to `UDP`.' } }, + withProtocol(value): { + protocol: value, + }, + '#withRecordType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) One of ANY, A, AAAA, CNAME, MX, NS, PTR, SOA, SRV, TXT. Defaults to A.\nOne of `ANY`, `A`, `AAAA`, `CNAME`, `MX`, `NS`, `PTR`, `SOA`, `SRV`, `TXT`. Defaults to `A`.' } }, + withRecordType(value): { + recordType: value, + }, + '#withServer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) DNS server address to target. Defaults to 8.8.8.8.\nDNS server address to target. Defaults to `8.8.8.8`.' } }, + withServer(value): { + server: value, + }, + '#withSourceIpAddress': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Source IP address.\nSource IP address.' } }, + withSourceIpAddress(value): { + sourceIpAddress: value, + }, + '#withValidRCodes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of valid response codes. Options include NOERROR, BADALG, BADMODE, BADKEY, BADCOOKIE, BADNAME, BADSIG, BADTIME, BADTRUNC, BADVERS, FORMERR, NOTIMP, NOTAUTH, NOTZONE, NXDOMAIN, NXRRSET, REFUSED, SERVFAIL, YXDOMAIN, YXRRSET.\nList of valid response codes. Options include `NOERROR`, `BADALG`, `BADMODE`, `BADKEY`, `BADCOOKIE`, `BADNAME`, `BADSIG`, `BADTIME`, `BADTRUNC`, `BADVERS`, `FORMERR`, `NOTIMP`, `NOTAUTH`, `NOTZONE`, `NXDOMAIN`, `NXRRSET`, `REFUSED`, `SERVFAIL`, `YXDOMAIN`, `YXRRSET`.' } }, + withValidRCodes(value): { + validRCodes: + (if std.isArray(value) + then value + else [value]), + }, + '#withValidRCodesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of valid response codes. Options include NOERROR, BADALG, BADMODE, BADKEY, BADCOOKIE, BADNAME, BADSIG, BADTIME, BADTRUNC, BADVERS, FORMERR, NOTIMP, NOTAUTH, NOTZONE, NXDOMAIN, NXRRSET, REFUSED, SERVFAIL, YXDOMAIN, YXRRSET.\nList of valid response codes. Options include `NOERROR`, `BADALG`, `BADMODE`, `BADKEY`, `BADCOOKIE`, `BADNAME`, `BADSIG`, `BADTIME`, `BADTRUNC`, `BADVERS`, `FORMERR`, `NOTIMP`, `NOTAUTH`, `NOTZONE`, `NXDOMAIN`, `NXRRSET`, `REFUSED`, `SERVFAIL`, `YXDOMAIN`, `YXRRSET`.' } }, + withValidRCodesMixin(value): { + validRCodes+: + (if std.isArray(value) + then value + else [value]), + }, + '#withValidateAdditionalRrs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Validate additional matches. (see below for nested schema)\nValidate additional matches.' } }, + withValidateAdditionalRrs(value): { + validateAdditionalRrs: + (if std.isArray(value) + then value + else [value]), + }, + '#withValidateAdditionalRrsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Validate additional matches. (see below for nested schema)\nValidate additional matches.' } }, + withValidateAdditionalRrsMixin(value): { + validateAdditionalRrs+: + (if std.isArray(value) + then value + else [value]), + }, + validateAdditionalRrs+: + { + '#': { help: '', name: 'validateAdditionalRrs' }, + '#withFailIfMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, + withFailIfMatchesRegexp(value): { + failIfMatchesRegexp: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, + withFailIfMatchesRegexpMixin(value): { + failIfMatchesRegexp+: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfNotMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, + withFailIfNotMatchesRegexp(value): { + failIfNotMatchesRegexp: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfNotMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, + withFailIfNotMatchesRegexpMixin(value): { + failIfNotMatchesRegexp+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withValidateAnswerRrs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Validate response answer. (see below for nested schema)\nValidate response answer.' } }, + withValidateAnswerRrs(value): { + validateAnswerRrs: + (if std.isArray(value) + then value + else [value]), + }, + '#withValidateAnswerRrsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Validate response answer. (see below for nested schema)\nValidate response answer.' } }, + withValidateAnswerRrsMixin(value): { + validateAnswerRrs+: + (if std.isArray(value) + then value + else [value]), + }, + validateAnswerRrs+: + { + '#': { help: '', name: 'validateAnswerRrs' }, + '#withFailIfMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, + withFailIfMatchesRegexp(value): { + failIfMatchesRegexp: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, + withFailIfMatchesRegexpMixin(value): { + failIfMatchesRegexp+: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfNotMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, + withFailIfNotMatchesRegexp(value): { + failIfNotMatchesRegexp: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfNotMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, + withFailIfNotMatchesRegexpMixin(value): { + failIfNotMatchesRegexp+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withValidateAuthorityRrs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Validate response authority. (see below for nested schema)\nValidate response authority.' } }, + withValidateAuthorityRrs(value): { + validateAuthorityRrs: + (if std.isArray(value) + then value + else [value]), + }, + '#withValidateAuthorityRrsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Validate response authority. (see below for nested schema)\nValidate response authority.' } }, + withValidateAuthorityRrsMixin(value): { + validateAuthorityRrs+: + (if std.isArray(value) + then value + else [value]), + }, + validateAuthorityRrs+: + { + '#': { help: '', name: 'validateAuthorityRrs' }, + '#withFailIfMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, + withFailIfMatchesRegexp(value): { + failIfMatchesRegexp: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, + withFailIfMatchesRegexpMixin(value): { + failIfMatchesRegexp+: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfNotMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, + withFailIfNotMatchesRegexp(value): { + failIfNotMatchesRegexp: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfNotMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, + withFailIfNotMatchesRegexpMixin(value): { + failIfNotMatchesRegexp+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withGrpc': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for gRPC Health check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address.' } }, + withGrpc(value): { + grpc: + (if std.isArray(value) + then value + else [value]), + }, + '#withGrpcMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for gRPC Health check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address.' } }, + withGrpcMixin(value): { + grpc+: + (if std.isArray(value) + then value + else [value]), + }, + grpc+: + { + '#': { help: '', name: 'grpc' }, + '#withIpVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." } }, + withIpVersion(value): { + ipVersion: value, + }, + '#withService': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) gRPC service.\ngRPC service.' } }, + withService(value): { + service: value, + }, + '#withTls': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether or not TLS is used when the connection is initiated. Defaults to false.\nWhether or not TLS is used when the connection is initiated. Defaults to `false`.' } }, + withTls(value=true): { + tls: value, + }, + '#withTlsConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, + withTlsConfig(value): { + tlsConfig: + (if std.isArray(value) + then value + else [value]), + }, + '#withTlsConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, + withTlsConfigMixin(value): { + tlsConfig+: + (if std.isArray(value) + then value + else [value]), + }, + tlsConfig+: + { + '#': { help: '', name: 'tlsConfig' }, + '#withCaCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) CA certificate in PEM format.\nCA certificate in PEM format.' } }, + withCaCert(value): { + caCert: value, + }, + '#withClientCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Client certificate in PEM format.\nClient certificate in PEM format.' } }, + withClientCert(value): { + clientCert: value, + }, + '#withClientKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, + withClientKeySecretRef(value): { + clientKeySecretRef: value, + }, + '#withClientKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, + withClientKeySecretRefMixin(value): { + clientKeySecretRef+: value, + }, + clientKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + clientKeySecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + clientKeySecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + clientKeySecretRef+: { + namespace: value, + }, + }, + }, + '#withInsecureSkipVerify': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Disable target certificate validation. Defaults to false.\nDisable target certificate validation. Defaults to `false`.' } }, + withInsecureSkipVerify(value=true): { + insecureSkipVerify: value, + }, + '#withServerName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Used to verify the hostname for the targets.\nUsed to verify the hostname for the targets.' } }, + withServerName(value): { + serverName: value, + }, + }, + }, + '#withHttp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for HTTP check. The target must be a URL (http or https). (see below for nested schema)\nSettings for HTTP check. The target must be a URL (http or https).' } }, + withHttp(value): { + http: + (if std.isArray(value) + then value + else [value]), + }, + '#withHttpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for HTTP check. The target must be a URL (http or https). (see below for nested schema)\nSettings for HTTP check. The target must be a URL (http or https).' } }, + withHttpMixin(value): { + http+: + (if std.isArray(value) + then value + else [value]), + }, + http+: + { + '#': { help: '', name: 'http' }, + '#withBasicAuth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Basic auth settings. (see below for nested schema)\nBasic auth settings.' } }, + withBasicAuth(value): { + basicAuth: + (if std.isArray(value) + then value + else [value]), + }, + '#withBasicAuthMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Basic auth settings. (see below for nested schema)\nBasic auth settings.' } }, + withBasicAuthMixin(value): { + basicAuth+: + (if std.isArray(value) + then value + else [value]), + }, + basicAuth+: + { + '#': { help: '', name: 'basicAuth' }, + '#withPassword': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Basic auth password.\nBasic auth password.' } }, + withPassword(value): { + password: value, + }, + '#withUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Basic auth username.\nBasic auth username.' } }, + withUsername(value): { + username: value, + }, + }, + '#withBearerToken': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Token for use with bearer authorization header.\nToken for use with bearer authorization header.' } }, + withBearerToken(value): { + bearerToken: value, + }, + '#withBody': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The body of the HTTP request used in probe.\nThe body of the HTTP request used in probe.' } }, + withBody(value): { + body: value, + }, + '#withCacheBustingQueryParamName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the query parameter used to prevent the server from using a cached response. Each probe will assign a random value to this parameter each time a request is made.\nThe name of the query parameter used to prevent the server from using a cached response. Each probe will assign a random value to this parameter each time a request is made.' } }, + withCacheBustingQueryParamName(value): { + cacheBustingQueryParamName: value, + }, + '#withFailIfBodyMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of regexes. If any match the response body, the check will fail.\nList of regexes. If any match the response body, the check will fail.' } }, + withFailIfBodyMatchesRegexp(value): { + failIfBodyMatchesRegexp: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfBodyMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of regexes. If any match the response body, the check will fail.\nList of regexes. If any match the response body, the check will fail.' } }, + withFailIfBodyMatchesRegexpMixin(value): { + failIfBodyMatchesRegexp+: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfBodyNotMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of regexes. If any do not match the response body, the check will fail.\nList of regexes. If any do not match the response body, the check will fail.' } }, + withFailIfBodyNotMatchesRegexp(value): { + failIfBodyNotMatchesRegexp: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfBodyNotMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of regexes. If any do not match the response body, the check will fail.\nList of regexes. If any do not match the response body, the check will fail.' } }, + withFailIfBodyNotMatchesRegexpMixin(value): { + failIfBodyNotMatchesRegexp+: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfHeaderMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Check fails if headers match. (see below for nested schema)\nCheck fails if headers match.' } }, + withFailIfHeaderMatchesRegexp(value): { + failIfHeaderMatchesRegexp: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfHeaderMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Check fails if headers match. (see below for nested schema)\nCheck fails if headers match.' } }, + withFailIfHeaderMatchesRegexpMixin(value): { + failIfHeaderMatchesRegexp+: + (if std.isArray(value) + then value + else [value]), + }, + failIfHeaderMatchesRegexp+: + { + '#': { help: '', name: 'failIfHeaderMatchesRegexp' }, + '#withAllowMissing': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Allow header to be missing from responses. Defaults to false.\nAllow header to be missing from responses. Defaults to `false`.' } }, + withAllowMissing(value=true): { + allowMissing: value, + }, + '#withHeader': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Header name.\nHeader name.' } }, + withHeader(value): { + header: value, + }, + '#withRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Regex that header value should match.\nRegex that header value should match.' } }, + withRegexp(value): { + regexp: value, + }, + }, + '#withFailIfHeaderNotMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Check fails if headers do not match. (see below for nested schema)\nCheck fails if headers do not match.' } }, + withFailIfHeaderNotMatchesRegexp(value): { + failIfHeaderNotMatchesRegexp: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfHeaderNotMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Check fails if headers do not match. (see below for nested schema)\nCheck fails if headers do not match.' } }, + withFailIfHeaderNotMatchesRegexpMixin(value): { + failIfHeaderNotMatchesRegexp+: + (if std.isArray(value) + then value + else [value]), + }, + failIfHeaderNotMatchesRegexp+: + { + '#': { help: '', name: 'failIfHeaderNotMatchesRegexp' }, + '#withAllowMissing': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Allow header to be missing from responses. Defaults to false.\nAllow header to be missing from responses. Defaults to `false`.' } }, + withAllowMissing(value=true): { + allowMissing: value, + }, + '#withHeader': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Header name.\nHeader name.' } }, + withHeader(value): { + header: value, + }, + '#withRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Regex that header value should match.\nRegex that header value should match.' } }, + withRegexp(value): { + regexp: value, + }, + }, + '#withFailIfNotSsl': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Fail if SSL is not present. Defaults to false.\nFail if SSL is not present. Defaults to `false`.' } }, + withFailIfNotSsl(value=true): { + failIfNotSsl: value, + }, + '#withFailIfSsl': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Fail if SSL is present. Defaults to false.\nFail if SSL is present. Defaults to `false`.' } }, + withFailIfSsl(value=true): { + failIfSsl: value, + }, + '#withHeaders': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers set for the probe.\nThe HTTP headers set for the probe.' } }, + withHeaders(value): { + headers: + (if std.isArray(value) + then value + else [value]), + }, + '#withHeadersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers set for the probe.\nThe HTTP headers set for the probe.' } }, + withHeadersMixin(value): { + headers+: + (if std.isArray(value) + then value + else [value]), + }, + '#withIpVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." } }, + withIpVersion(value): { + ipVersion: value, + }, + '#withMethod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Request method. One of GET, CONNECT, DELETE, HEAD, OPTIONS, POST, PUT, TRACE Defaults to GET.\nRequest method. One of `GET`, `CONNECT`, `DELETE`, `HEAD`, `OPTIONS`, `POST`, `PUT`, `TRACE` Defaults to `GET`.' } }, + withMethod(value): { + method: value, + }, + '#withNoFollowRedirects': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Do not follow redirects. Defaults to false.\nDo not follow redirects. Defaults to `false`.' } }, + withNoFollowRedirects(value=true): { + noFollowRedirects: value, + }, + '#withProxyConnectHeaders': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers sent to the proxy URL\nThe HTTP headers sent to the proxy URL' } }, + withProxyConnectHeaders(value): { + proxyConnectHeaders: + (if std.isArray(value) + then value + else [value]), + }, + '#withProxyConnectHeadersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers sent to the proxy URL\nThe HTTP headers sent to the proxy URL' } }, + withProxyConnectHeadersMixin(value): { + proxyConnectHeaders+: + (if std.isArray(value) + then value + else [value]), + }, + '#withProxyUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Proxy URL.\nProxy URL.' } }, + withProxyUrl(value): { + proxyUrl: value, + }, + '#withTlsConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, + withTlsConfig(value): { + tlsConfig: + (if std.isArray(value) + then value + else [value]), + }, + '#withTlsConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, + withTlsConfigMixin(value): { + tlsConfig+: + (if std.isArray(value) + then value + else [value]), + }, + tlsConfig+: + { + '#': { help: '', name: 'tlsConfig' }, + '#withCaCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) CA certificate in PEM format.\nCA certificate in PEM format.' } }, + withCaCert(value): { + caCert: value, + }, + '#withClientCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Client certificate in PEM format.\nClient certificate in PEM format.' } }, + withClientCert(value): { + clientCert: value, + }, + '#withClientKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, + withClientKeySecretRef(value): { + clientKeySecretRef: value, + }, + '#withClientKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, + withClientKeySecretRefMixin(value): { + clientKeySecretRef+: value, + }, + clientKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + clientKeySecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + clientKeySecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + clientKeySecretRef+: { + namespace: value, + }, + }, + }, + '#withInsecureSkipVerify': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Disable target certificate validation. Defaults to false.\nDisable target certificate validation. Defaults to `false`.' } }, + withInsecureSkipVerify(value=true): { + insecureSkipVerify: value, + }, + '#withServerName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Used to verify the hostname for the targets.\nUsed to verify the hostname for the targets.' } }, + withServerName(value): { + serverName: value, + }, + }, + '#withValidHttpVersions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of valid HTTP versions. Options include HTTP/1.0, HTTP/1.1, HTTP/2.0\nList of valid HTTP versions. Options include `HTTP/1.0`, `HTTP/1.1`, `HTTP/2.0`' } }, + withValidHttpVersions(value): { + validHttpVersions: + (if std.isArray(value) + then value + else [value]), + }, + '#withValidHttpVersionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of valid HTTP versions. Options include HTTP/1.0, HTTP/1.1, HTTP/2.0\nList of valid HTTP versions. Options include `HTTP/1.0`, `HTTP/1.1`, `HTTP/2.0`' } }, + withValidHttpVersionsMixin(value): { + validHttpVersions+: + (if std.isArray(value) + then value + else [value]), + }, + '#withValidStatusCodes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) Accepted status codes. If unset, defaults to 2xx.\nAccepted status codes. If unset, defaults to 2xx.' } }, + withValidStatusCodes(value): { + validStatusCodes: + (if std.isArray(value) + then value + else [value]), + }, + '#withValidStatusCodesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) Accepted status codes. If unset, defaults to 2xx.\nAccepted status codes. If unset, defaults to 2xx.' } }, + withValidStatusCodesMixin(value): { + validStatusCodes+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withMultihttp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for MultiHTTP check. The target must be a URL (http or https) (see below for nested schema)\nSettings for MultiHTTP check. The target must be a URL (http or https)' } }, + withMultihttp(value): { + multihttp: + (if std.isArray(value) + then value + else [value]), + }, + '#withMultihttpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for MultiHTTP check. The target must be a URL (http or https) (see below for nested schema)\nSettings for MultiHTTP check. The target must be a URL (http or https)' } }, + withMultihttpMixin(value): { + multihttp+: + (if std.isArray(value) + then value + else [value]), + }, + multihttp+: + { + '#': { help: '', name: 'multihttp' }, + '#withEntries': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) (see below for nested schema)' } }, + withEntries(value): { + entries: + (if std.isArray(value) + then value + else [value]), + }, + '#withEntriesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) (see below for nested schema)' } }, + withEntriesMixin(value): { + entries+: + (if std.isArray(value) + then value + else [value]), + }, + entries+: + { + '#': { help: '', name: 'entries' }, + '#withAssertions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Assertions to make on the request response (see below for nested schema)\nAssertions to make on the request response' } }, + withAssertions(value): { + assertions: + (if std.isArray(value) + then value + else [value]), + }, + '#withAssertionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Assertions to make on the request response (see below for nested schema)\nAssertions to make on the request response' } }, + withAssertionsMixin(value): { + assertions+: + (if std.isArray(value) + then value + else [value]), + }, + assertions+: + { + '#': { help: '', name: 'assertions' }, + '#withCondition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The condition of the assertion: NOT_CONTAINS, EQUALS, STARTS_WITH, ENDS_WITH, TYPE_OF, CONTAINS\nThe condition of the assertion: NOT_CONTAINS, EQUALS, STARTS_WITH, ENDS_WITH, TYPE_OF, CONTAINS' } }, + withCondition(value): { + condition: value, + }, + '#withExpression': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The expression of the assertion. Should start with $.\nThe expression of the assertion. Should start with $.' } }, + withExpression(value): { + expression: value, + }, + '#withSubject': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The subject of the assertion: RESPONSE_HEADERS, HTTP_STATUS_CODE, RESPONSE_BODY\nThe subject of the assertion: RESPONSE_HEADERS, HTTP_STATUS_CODE, RESPONSE_BODY' } }, + withSubject(value): { + subject: value, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of assertion to make: TEXT, JSON_PATH_VALUE, JSON_PATH_ASSERTION, REGEX_ASSERTION\nThe type of assertion to make: TEXT, JSON_PATH_VALUE, JSON_PATH_ASSERTION, REGEX_ASSERTION' } }, + withType(value): { + type: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The value of the assertion\nThe value of the assertion' } }, + withValue(value): { + value: value, + }, + }, + '#withRequest': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) An individual MultiHTTP request (see below for nested schema)\nAn individual MultiHTTP request' } }, + withRequest(value): { + request: + (if std.isArray(value) + then value + else [value]), + }, + '#withRequestMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) An individual MultiHTTP request (see below for nested schema)\nAn individual MultiHTTP request' } }, + withRequestMixin(value): { + request+: + (if std.isArray(value) + then value + else [value]), + }, + request+: + { + '#': { help: '', name: 'request' }, + '#withBody': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(String) The body of the HTTP request used in probe.\nThe body of the HTTP request used in probe.' } }, + withBody(value): { + body: + (if std.isArray(value) + then value + else [value]), + }, + '#withBodyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(String) The body of the HTTP request used in probe.\nThe body of the HTTP request used in probe.' } }, + withBodyMixin(value): { + body+: + (if std.isArray(value) + then value + else [value]), + }, + body+: + { + '#': { help: '', name: 'body' }, + '#withContentEncoding': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The content encoding of the body\nThe content encoding of the body' } }, + withContentEncoding(value): { + contentEncoding: value, + }, + '#withContentType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The content type of the body\nThe content type of the body' } }, + withContentType(value): { + contentType: value, + }, + '#withPayload': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The body payload\nThe body payload' } }, + withPayload(value): { + payload: value, + }, + }, + '#withHeaders': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers set for the probe.\nThe headers to send with the request' } }, + withHeaders(value): { + headers: + (if std.isArray(value) + then value + else [value]), + }, + '#withHeadersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers set for the probe.\nThe headers to send with the request' } }, + withHeadersMixin(value): { + headers+: + (if std.isArray(value) + then value + else [value]), + }, + headers+: + { + '#': { help: '', name: 'headers' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the header to send\nName of the header to send' } }, + withName(value): { + name: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The value of the assertion\nValue of the header to send' } }, + withValue(value): { + value: value, + }, + }, + '#withMethod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Request method. One of GET, CONNECT, DELETE, HEAD, OPTIONS, POST, PUT, TRACE Defaults to GET.\nThe HTTP method to use' } }, + withMethod(value): { + method: value, + }, + '#withQueryFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Query fields to send with the request (see below for nested schema)\nQuery fields to send with the request' } }, + withQueryFields(value): { + queryFields: + (if std.isArray(value) + then value + else [value]), + }, + '#withQueryFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Query fields to send with the request (see below for nested schema)\nQuery fields to send with the request' } }, + withQueryFieldsMixin(value): { + queryFields+: + (if std.isArray(value) + then value + else [value]), + }, + queryFields+: + { + '#': { help: '', name: 'queryFields' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the header to send\nName of the query field to send' } }, + withName(value): { + name: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The value of the assertion\nValue of the query field to send' } }, + withValue(value): { + value: value, + }, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL for the request\nThe URL for the request' } }, + withUrl(value): { + url: value, + }, + }, + '#withVariables': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Variables to extract from the request response (see below for nested schema)\nVariables to extract from the request response' } }, + withVariables(value): { + variables: + (if std.isArray(value) + then value + else [value]), + }, + '#withVariablesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Variables to extract from the request response (see below for nested schema)\nVariables to extract from the request response' } }, + withVariablesMixin(value): { + variables+: + (if std.isArray(value) + then value + else [value]), + }, + variables+: + { + '#': { help: '', name: 'variables' }, + '#withAttribute': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The attribute to use when finding the variable value. Only used when type is CSS_SELECTOR\nThe attribute to use when finding the variable value. Only used when type is CSS_SELECTOR' } }, + withAttribute(value): { + attribute: value, + }, + '#withExpression': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The expression of the assertion. Should start with $.\nThe expression to when finding the variable. Should start with $. Only use when type is JSON_PATH or REGEX' } }, + withExpression(value): { + expression: value, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the header to send\nThe name of the variable to extract' } }, + withName(value): { + name: value, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of assertion to make: TEXT, JSON_PATH_VALUE, JSON_PATH_ASSERTION, REGEX_ASSERTION\nThe method of finding the variable value to extract. JSON_PATH, REGEX, CSS_SELECTOR' } }, + withType(value): { + type: value, + }, + }, + }, + }, + '#withPing': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for ping (ICMP) check. The target must be a valid hostname or IP address. (see below for nested schema)\nSettings for ping (ICMP) check. The target must be a valid hostname or IP address.' } }, + withPing(value): { + ping: + (if std.isArray(value) + then value + else [value]), + }, + '#withPingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for ping (ICMP) check. The target must be a valid hostname or IP address. (see below for nested schema)\nSettings for ping (ICMP) check. The target must be a valid hostname or IP address.' } }, + withPingMixin(value): { + ping+: + (if std.isArray(value) + then value + else [value]), + }, + ping+: + { + '#': { help: '', name: 'ping' }, + '#withDontFragment': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'bit in the IP-header. Only works with ipV4. Defaults to false.\nSet the DF-bit in the IP-header. Only works with ipV4. Defaults to `false`.' } }, + withDontFragment(value=true): { + dontFragment: value, + }, + '#withIpVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." } }, + withIpVersion(value): { + ipVersion: value, + }, + '#withPayloadSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Payload size. Defaults to 0.\nPayload size. Defaults to `0`.' } }, + withPayloadSize(value): { + payloadSize: value, + }, + '#withSourceIpAddress': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Source IP address.\nSource IP address.' } }, + withSourceIpAddress(value): { + sourceIpAddress: value, + }, + }, + '#withScripted': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema)\nSettings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/.' } }, + withScripted(value): { + scripted: + (if std.isArray(value) + then value + else [value]), + }, + '#withScriptedMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema)\nSettings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/.' } }, + withScriptedMixin(value): { + scripted+: + (if std.isArray(value) + then value + else [value]), + }, + scripted+: + { + '#': { help: '', name: 'scripted' }, + '#withScript': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withScript(value): { + script: value, + }, + }, + '#withTcp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for TCP check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for TCP check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address.' } }, + withTcp(value): { + tcp: + (if std.isArray(value) + then value + else [value]), + }, + '#withTcpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for TCP check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for TCP check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address.' } }, + withTcpMixin(value): { + tcp+: + (if std.isArray(value) + then value + else [value]), + }, + tcp+: + { + '#': { help: '', name: 'tcp' }, + '#withIpVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." } }, + withIpVersion(value): { + ipVersion: value, + }, + '#withQueryResponse': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The query sent in the TCP probe and the expected associated response. (see below for nested schema)\nThe query sent in the TCP probe and the expected associated response.' } }, + withQueryResponse(value): { + queryResponse: + (if std.isArray(value) + then value + else [value]), + }, + '#withQueryResponseMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The query sent in the TCP probe and the expected associated response. (see below for nested schema)\nThe query sent in the TCP probe and the expected associated response.' } }, + withQueryResponseMixin(value): { + queryResponse+: + (if std.isArray(value) + then value + else [value]), + }, + queryResponse+: + { + '#': { help: '', name: 'queryResponse' }, + '#withExpect': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Response to expect.\nResponse to expect.' } }, + withExpect(value): { + expect: value, + }, + '#withSend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Data to send.\nData to send.' } }, + withSend(value): { + send: value, + }, + '#withStartTls': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Upgrade TCP connection to TLS. Defaults to false.\nUpgrade TCP connection to TLS. Defaults to `false`.' } }, + withStartTls(value=true): { + startTls: value, + }, + }, + '#withSourceIpAddress': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Source IP address.\nSource IP address.' } }, + withSourceIpAddress(value): { + sourceIpAddress: value, + }, + '#withTls': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether or not TLS is used when the connection is initiated. Defaults to false.\nWhether or not TLS is used when the connection is initiated. Defaults to `false`.' } }, + withTls(value=true): { + tls: value, + }, + '#withTlsConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, + withTlsConfig(value): { + tlsConfig: + (if std.isArray(value) + then value + else [value]), + }, + '#withTlsConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, + withTlsConfigMixin(value): { + tlsConfig+: + (if std.isArray(value) + then value + else [value]), + }, + tlsConfig+: + { + '#': { help: '', name: 'tlsConfig' }, + '#withCaCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) CA certificate in PEM format.\nCA certificate in PEM format.' } }, + withCaCert(value): { + caCert: value, + }, + '#withClientCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Client certificate in PEM format.\nClient certificate in PEM format.' } }, + withClientCert(value): { + clientCert: value, + }, + '#withClientKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, + withClientKeySecretRef(value): { + clientKeySecretRef: value, + }, + '#withClientKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, + withClientKeySecretRefMixin(value): { + clientKeySecretRef+: value, + }, + clientKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + clientKeySecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + clientKeySecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + clientKeySecretRef+: { + namespace: value, + }, + }, + }, + '#withInsecureSkipVerify': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Disable target certificate validation. Defaults to false.\nDisable target certificate validation. Defaults to `false`.' } }, + withInsecureSkipVerify(value=true): { + insecureSkipVerify: value, + }, + '#withServerName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Used to verify the hostname for the targets.\nUsed to verify the hostname for the targets.' } }, + withServerName(value): { + serverName: value, + }, + }, + }, + '#withTraceroute': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for traceroute check. The target must be a valid hostname or IP address (see below for nested schema)\nSettings for traceroute check. The target must be a valid hostname or IP address' } }, + withTraceroute(value): { + traceroute: + (if std.isArray(value) + then value + else [value]), + }, + '#withTracerouteMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for traceroute check. The target must be a valid hostname or IP address (see below for nested schema)\nSettings for traceroute check. The target must be a valid hostname or IP address' } }, + withTracerouteMixin(value): { + traceroute+: + (if std.isArray(value) + then value + else [value]), + }, + traceroute+: + { + '#': { help: '', name: 'traceroute' }, + '#withMaxHops': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Maximum TTL for the trace Defaults to 64.\nMaximum TTL for the trace Defaults to `64`.' } }, + withMaxHops(value): { + maxHops: value, + }, + '#withMaxUnknownHops': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Maximum number of hosts to travers that give no response Defaults to 15.\nMaximum number of hosts to travers that give no response Defaults to `15`.' } }, + withMaxUnknownHops(value): { + maxUnknownHops: value, + }, + '#withPtrLookup': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Reverse lookup hostnames from IP addresses Defaults to true.\nReverse lookup hostnames from IP addresses Defaults to `true`.' } }, + withPtrLookup(value=true): { + ptrLookup: value, + }, + }, + }, + '#withTarget': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Hostname to ping.\nHostname to ping.' } }, + withTarget(value): { + spec+: { + parameters+: { + forProvider+: { + target: value, + }, + }, + }, + }, + '#withTimeout': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to 3000.\nSpecifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to `3000`.' } }, + withTimeout(value): { + spec+: { + parameters+: { + forProvider+: { + timeout: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withAlertSensitivity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Can be set to none, low, medium, or high to correspond to the check alert levels. Defaults to none.\nCan be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/). Defaults to `none`.' } }, + withAlertSensitivity(value): { + spec+: { + parameters+: { + initProvider+: { + alertSensitivity: value, + }, + }, + }, + }, + '#withBasicMetricsOnly': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "(Boolean) Metrics are reduced by default. Set this to false if you'd like to publish all metrics. We maintain a full list of metrics collected for each. Defaults to true.\nMetrics are reduced by default. Set this to `false` if you'd like to publish all metrics. We maintain a [full list of metrics](https://github.com/grafana/synthetic-monitoring-agent/tree/main/internal/scraper/testdata) collected for each. Defaults to `true`." } }, + withBasicMetricsOnly(value=true): { + spec+: { + parameters+: { + initProvider+: { + basicMetricsOnly: value, + }, + }, + }, + }, + '#withEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether to enable the check. Defaults to true.\nWhether to enable the check. Defaults to `true`.' } }, + withEnabled(value=true): { + spec+: { + parameters+: { + initProvider+: { + enabled: value, + }, + }, + }, + }, + '#withFrequency': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to 60000.\nHow often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to `60000`.' } }, + withFrequency(value): { + spec+: { + parameters+: { + initProvider+: { + frequency: value, + }, + }, + }, + }, + '#withJob': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name used for job label.\nName used for job label.' } }, + withJob(value): { + spec+: { + parameters+: { + initProvider+: { + job: value, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.\nCustom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.' } }, + withLabels(value): { + spec+: { + parameters+: { + initProvider+: { + labels: value, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.\nCustom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + labels+: value, + }, + }, + }, + }, + '#withProbes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) List of probe location IDs where this target will be checked from.\nList of probe location IDs where this target will be checked from.' } }, + withProbes(value): { + spec+: { + parameters+: { + initProvider+: { + probes: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withProbesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) List of probe location IDs where this target will be checked from.\nList of probe location IDs where this target will be checked from.' } }, + withProbesMixin(value): { + spec+: { + parameters+: { + initProvider+: { + probes+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1, Max: 1) Check settings. Should contain exactly one nested block. (see below for nested schema)\nCheck settings. Should contain exactly one nested block.' } }, + withSettings(value): { + spec+: { + parameters+: { + initProvider+: { + settings: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Min: 1, Max: 1) Check settings. Should contain exactly one nested block. (see below for nested schema)\nCheck settings. Should contain exactly one nested block.' } }, + withSettingsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + settings+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + settings+: + { + '#': { help: '', name: 'settings' }, + '#withDns': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for DNS check. The target must be a valid hostname (or IP address for PTR records). (see below for nested schema)\nSettings for DNS check. The target must be a valid hostname (or IP address for `PTR` records).' } }, + withDns(value): { + dns: + (if std.isArray(value) + then value + else [value]), + }, + '#withDnsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for DNS check. The target must be a valid hostname (or IP address for PTR records). (see below for nested schema)\nSettings for DNS check. The target must be a valid hostname (or IP address for `PTR` records).' } }, + withDnsMixin(value): { + dns+: + (if std.isArray(value) + then value + else [value]), + }, + dns+: + { + '#': { help: '', name: 'dns' }, + '#withIpVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." } }, + withIpVersion(value): { + ipVersion: value, + }, + '#withPort': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Port to target. Defaults to 53.\nPort to target. Defaults to `53`.' } }, + withPort(value): { + port: value, + }, + '#withProtocol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) TCP or UDP. Defaults to UDP.\n`TCP` or `UDP`. Defaults to `UDP`.' } }, + withProtocol(value): { + protocol: value, + }, + '#withRecordType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) One of ANY, A, AAAA, CNAME, MX, NS, PTR, SOA, SRV, TXT. Defaults to A.\nOne of `ANY`, `A`, `AAAA`, `CNAME`, `MX`, `NS`, `PTR`, `SOA`, `SRV`, `TXT`. Defaults to `A`.' } }, + withRecordType(value): { + recordType: value, + }, + '#withServer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) DNS server address to target. Defaults to 8.8.8.8.\nDNS server address to target. Defaults to `8.8.8.8`.' } }, + withServer(value): { + server: value, + }, + '#withSourceIpAddress': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Source IP address.\nSource IP address.' } }, + withSourceIpAddress(value): { + sourceIpAddress: value, + }, + '#withValidRCodes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of valid response codes. Options include NOERROR, BADALG, BADMODE, BADKEY, BADCOOKIE, BADNAME, BADSIG, BADTIME, BADTRUNC, BADVERS, FORMERR, NOTIMP, NOTAUTH, NOTZONE, NXDOMAIN, NXRRSET, REFUSED, SERVFAIL, YXDOMAIN, YXRRSET.\nList of valid response codes. Options include `NOERROR`, `BADALG`, `BADMODE`, `BADKEY`, `BADCOOKIE`, `BADNAME`, `BADSIG`, `BADTIME`, `BADTRUNC`, `BADVERS`, `FORMERR`, `NOTIMP`, `NOTAUTH`, `NOTZONE`, `NXDOMAIN`, `NXRRSET`, `REFUSED`, `SERVFAIL`, `YXDOMAIN`, `YXRRSET`.' } }, + withValidRCodes(value): { + validRCodes: + (if std.isArray(value) + then value + else [value]), + }, + '#withValidRCodesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of valid response codes. Options include NOERROR, BADALG, BADMODE, BADKEY, BADCOOKIE, BADNAME, BADSIG, BADTIME, BADTRUNC, BADVERS, FORMERR, NOTIMP, NOTAUTH, NOTZONE, NXDOMAIN, NXRRSET, REFUSED, SERVFAIL, YXDOMAIN, YXRRSET.\nList of valid response codes. Options include `NOERROR`, `BADALG`, `BADMODE`, `BADKEY`, `BADCOOKIE`, `BADNAME`, `BADSIG`, `BADTIME`, `BADTRUNC`, `BADVERS`, `FORMERR`, `NOTIMP`, `NOTAUTH`, `NOTZONE`, `NXDOMAIN`, `NXRRSET`, `REFUSED`, `SERVFAIL`, `YXDOMAIN`, `YXRRSET`.' } }, + withValidRCodesMixin(value): { + validRCodes+: + (if std.isArray(value) + then value + else [value]), + }, + '#withValidateAdditionalRrs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Validate additional matches. (see below for nested schema)\nValidate additional matches.' } }, + withValidateAdditionalRrs(value): { + validateAdditionalRrs: + (if std.isArray(value) + then value + else [value]), + }, + '#withValidateAdditionalRrsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Validate additional matches. (see below for nested schema)\nValidate additional matches.' } }, + withValidateAdditionalRrsMixin(value): { + validateAdditionalRrs+: + (if std.isArray(value) + then value + else [value]), + }, + validateAdditionalRrs+: + { + '#': { help: '', name: 'validateAdditionalRrs' }, + '#withFailIfMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, + withFailIfMatchesRegexp(value): { + failIfMatchesRegexp: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, + withFailIfMatchesRegexpMixin(value): { + failIfMatchesRegexp+: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfNotMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, + withFailIfNotMatchesRegexp(value): { + failIfNotMatchesRegexp: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfNotMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, + withFailIfNotMatchesRegexpMixin(value): { + failIfNotMatchesRegexp+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withValidateAnswerRrs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Validate response answer. (see below for nested schema)\nValidate response answer.' } }, + withValidateAnswerRrs(value): { + validateAnswerRrs: + (if std.isArray(value) + then value + else [value]), + }, + '#withValidateAnswerRrsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Validate response answer. (see below for nested schema)\nValidate response answer.' } }, + withValidateAnswerRrsMixin(value): { + validateAnswerRrs+: + (if std.isArray(value) + then value + else [value]), + }, + validateAnswerRrs+: + { + '#': { help: '', name: 'validateAnswerRrs' }, + '#withFailIfMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, + withFailIfMatchesRegexp(value): { + failIfMatchesRegexp: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, + withFailIfMatchesRegexpMixin(value): { + failIfMatchesRegexp+: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfNotMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, + withFailIfNotMatchesRegexp(value): { + failIfNotMatchesRegexp: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfNotMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, + withFailIfNotMatchesRegexpMixin(value): { + failIfNotMatchesRegexp+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withValidateAuthorityRrs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Validate response authority. (see below for nested schema)\nValidate response authority.' } }, + withValidateAuthorityRrs(value): { + validateAuthorityRrs: + (if std.isArray(value) + then value + else [value]), + }, + '#withValidateAuthorityRrsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Validate response authority. (see below for nested schema)\nValidate response authority.' } }, + withValidateAuthorityRrsMixin(value): { + validateAuthorityRrs+: + (if std.isArray(value) + then value + else [value]), + }, + validateAuthorityRrs+: + { + '#': { help: '', name: 'validateAuthorityRrs' }, + '#withFailIfMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, + withFailIfMatchesRegexp(value): { + failIfMatchesRegexp: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value matches regex.\nFail if value matches regex.' } }, + withFailIfMatchesRegexpMixin(value): { + failIfMatchesRegexp+: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfNotMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, + withFailIfNotMatchesRegexp(value): { + failIfNotMatchesRegexp: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfNotMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) Fail if value does not match regex.\nFail if value does not match regex.' } }, + withFailIfNotMatchesRegexpMixin(value): { + failIfNotMatchesRegexp+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withGrpc': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for gRPC Health check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address.' } }, + withGrpc(value): { + grpc: + (if std.isArray(value) + then value + else [value]), + }, + '#withGrpcMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for gRPC Health check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address.' } }, + withGrpcMixin(value): { + grpc+: + (if std.isArray(value) + then value + else [value]), + }, + grpc+: + { + '#': { help: '', name: 'grpc' }, + '#withIpVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." } }, + withIpVersion(value): { + ipVersion: value, + }, + '#withService': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) gRPC service.\ngRPC service.' } }, + withService(value): { + service: value, + }, + '#withTls': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether or not TLS is used when the connection is initiated. Defaults to false.\nWhether or not TLS is used when the connection is initiated. Defaults to `false`.' } }, + withTls(value=true): { + tls: value, + }, + '#withTlsConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, + withTlsConfig(value): { + tlsConfig: + (if std.isArray(value) + then value + else [value]), + }, + '#withTlsConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, + withTlsConfigMixin(value): { + tlsConfig+: + (if std.isArray(value) + then value + else [value]), + }, + tlsConfig+: + { + '#': { help: '', name: 'tlsConfig' }, + '#withCaCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) CA certificate in PEM format.\nCA certificate in PEM format.' } }, + withCaCert(value): { + caCert: value, + }, + '#withClientCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Client certificate in PEM format.\nClient certificate in PEM format.' } }, + withClientCert(value): { + clientCert: value, + }, + '#withClientKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, + withClientKeySecretRef(value): { + clientKeySecretRef: value, + }, + '#withClientKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, + withClientKeySecretRefMixin(value): { + clientKeySecretRef+: value, + }, + clientKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + clientKeySecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + clientKeySecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + clientKeySecretRef+: { + namespace: value, + }, + }, + }, + '#withInsecureSkipVerify': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Disable target certificate validation. Defaults to false.\nDisable target certificate validation. Defaults to `false`.' } }, + withInsecureSkipVerify(value=true): { + insecureSkipVerify: value, + }, + '#withServerName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Used to verify the hostname for the targets.\nUsed to verify the hostname for the targets.' } }, + withServerName(value): { + serverName: value, + }, + }, + }, + '#withHttp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for HTTP check. The target must be a URL (http or https). (see below for nested schema)\nSettings for HTTP check. The target must be a URL (http or https).' } }, + withHttp(value): { + http: + (if std.isArray(value) + then value + else [value]), + }, + '#withHttpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for HTTP check. The target must be a URL (http or https). (see below for nested schema)\nSettings for HTTP check. The target must be a URL (http or https).' } }, + withHttpMixin(value): { + http+: + (if std.isArray(value) + then value + else [value]), + }, + http+: + { + '#': { help: '', name: 'http' }, + '#withBasicAuth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Basic auth settings. (see below for nested schema)\nBasic auth settings.' } }, + withBasicAuth(value): { + basicAuth: + (if std.isArray(value) + then value + else [value]), + }, + '#withBasicAuthMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Basic auth settings. (see below for nested schema)\nBasic auth settings.' } }, + withBasicAuthMixin(value): { + basicAuth+: + (if std.isArray(value) + then value + else [value]), + }, + basicAuth+: + { + '#': { help: '', name: 'basicAuth' }, + '#withPassword': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Basic auth password.\nBasic auth password.' } }, + withPassword(value): { + password: value, + }, + '#withUsername': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Basic auth username.\nBasic auth username.' } }, + withUsername(value): { + username: value, + }, + }, + '#withBearerToken': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Token for use with bearer authorization header.\nToken for use with bearer authorization header.' } }, + withBearerToken(value): { + bearerToken: value, + }, + '#withBody': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The body of the HTTP request used in probe.\nThe body of the HTTP request used in probe.' } }, + withBody(value): { + body: value, + }, + '#withCacheBustingQueryParamName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the query parameter used to prevent the server from using a cached response. Each probe will assign a random value to this parameter each time a request is made.\nThe name of the query parameter used to prevent the server from using a cached response. Each probe will assign a random value to this parameter each time a request is made.' } }, + withCacheBustingQueryParamName(value): { + cacheBustingQueryParamName: value, + }, + '#withFailIfBodyMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of regexes. If any match the response body, the check will fail.\nList of regexes. If any match the response body, the check will fail.' } }, + withFailIfBodyMatchesRegexp(value): { + failIfBodyMatchesRegexp: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfBodyMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of regexes. If any match the response body, the check will fail.\nList of regexes. If any match the response body, the check will fail.' } }, + withFailIfBodyMatchesRegexpMixin(value): { + failIfBodyMatchesRegexp+: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfBodyNotMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of regexes. If any do not match the response body, the check will fail.\nList of regexes. If any do not match the response body, the check will fail.' } }, + withFailIfBodyNotMatchesRegexp(value): { + failIfBodyNotMatchesRegexp: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfBodyNotMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of regexes. If any do not match the response body, the check will fail.\nList of regexes. If any do not match the response body, the check will fail.' } }, + withFailIfBodyNotMatchesRegexpMixin(value): { + failIfBodyNotMatchesRegexp+: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfHeaderMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Check fails if headers match. (see below for nested schema)\nCheck fails if headers match.' } }, + withFailIfHeaderMatchesRegexp(value): { + failIfHeaderMatchesRegexp: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfHeaderMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Check fails if headers match. (see below for nested schema)\nCheck fails if headers match.' } }, + withFailIfHeaderMatchesRegexpMixin(value): { + failIfHeaderMatchesRegexp+: + (if std.isArray(value) + then value + else [value]), + }, + failIfHeaderMatchesRegexp+: + { + '#': { help: '', name: 'failIfHeaderMatchesRegexp' }, + '#withAllowMissing': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Allow header to be missing from responses. Defaults to false.\nAllow header to be missing from responses. Defaults to `false`.' } }, + withAllowMissing(value=true): { + allowMissing: value, + }, + '#withHeader': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Header name.\nHeader name.' } }, + withHeader(value): { + header: value, + }, + '#withRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Regex that header value should match.\nRegex that header value should match.' } }, + withRegexp(value): { + regexp: value, + }, + }, + '#withFailIfHeaderNotMatchesRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Check fails if headers do not match. (see below for nested schema)\nCheck fails if headers do not match.' } }, + withFailIfHeaderNotMatchesRegexp(value): { + failIfHeaderNotMatchesRegexp: + (if std.isArray(value) + then value + else [value]), + }, + '#withFailIfHeaderNotMatchesRegexpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Check fails if headers do not match. (see below for nested schema)\nCheck fails if headers do not match.' } }, + withFailIfHeaderNotMatchesRegexpMixin(value): { + failIfHeaderNotMatchesRegexp+: + (if std.isArray(value) + then value + else [value]), + }, + failIfHeaderNotMatchesRegexp+: + { + '#': { help: '', name: 'failIfHeaderNotMatchesRegexp' }, + '#withAllowMissing': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Allow header to be missing from responses. Defaults to false.\nAllow header to be missing from responses. Defaults to `false`.' } }, + withAllowMissing(value=true): { + allowMissing: value, + }, + '#withHeader': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Header name.\nHeader name.' } }, + withHeader(value): { + header: value, + }, + '#withRegexp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Regex that header value should match.\nRegex that header value should match.' } }, + withRegexp(value): { + regexp: value, + }, + }, + '#withFailIfNotSsl': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Fail if SSL is not present. Defaults to false.\nFail if SSL is not present. Defaults to `false`.' } }, + withFailIfNotSsl(value=true): { + failIfNotSsl: value, + }, + '#withFailIfSsl': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Fail if SSL is present. Defaults to false.\nFail if SSL is present. Defaults to `false`.' } }, + withFailIfSsl(value=true): { + failIfSsl: value, + }, + '#withHeaders': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers set for the probe.\nThe HTTP headers set for the probe.' } }, + withHeaders(value): { + headers: + (if std.isArray(value) + then value + else [value]), + }, + '#withHeadersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers set for the probe.\nThe HTTP headers set for the probe.' } }, + withHeadersMixin(value): { + headers+: + (if std.isArray(value) + then value + else [value]), + }, + '#withIpVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." } }, + withIpVersion(value): { + ipVersion: value, + }, + '#withMethod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Request method. One of GET, CONNECT, DELETE, HEAD, OPTIONS, POST, PUT, TRACE Defaults to GET.\nRequest method. One of `GET`, `CONNECT`, `DELETE`, `HEAD`, `OPTIONS`, `POST`, `PUT`, `TRACE` Defaults to `GET`.' } }, + withMethod(value): { + method: value, + }, + '#withNoFollowRedirects': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Do not follow redirects. Defaults to false.\nDo not follow redirects. Defaults to `false`.' } }, + withNoFollowRedirects(value=true): { + noFollowRedirects: value, + }, + '#withProxyConnectHeaders': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers sent to the proxy URL\nThe HTTP headers sent to the proxy URL' } }, + withProxyConnectHeaders(value): { + proxyConnectHeaders: + (if std.isArray(value) + then value + else [value]), + }, + '#withProxyConnectHeadersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers sent to the proxy URL\nThe HTTP headers sent to the proxy URL' } }, + withProxyConnectHeadersMixin(value): { + proxyConnectHeaders+: + (if std.isArray(value) + then value + else [value]), + }, + '#withProxyUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Proxy URL.\nProxy URL.' } }, + withProxyUrl(value): { + proxyUrl: value, + }, + '#withTlsConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, + withTlsConfig(value): { + tlsConfig: + (if std.isArray(value) + then value + else [value]), + }, + '#withTlsConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, + withTlsConfigMixin(value): { + tlsConfig+: + (if std.isArray(value) + then value + else [value]), + }, + tlsConfig+: + { + '#': { help: '', name: 'tlsConfig' }, + '#withCaCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) CA certificate in PEM format.\nCA certificate in PEM format.' } }, + withCaCert(value): { + caCert: value, + }, + '#withClientCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Client certificate in PEM format.\nClient certificate in PEM format.' } }, + withClientCert(value): { + clientCert: value, + }, + '#withClientKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, + withClientKeySecretRef(value): { + clientKeySecretRef: value, + }, + '#withClientKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, + withClientKeySecretRefMixin(value): { + clientKeySecretRef+: value, + }, + clientKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + clientKeySecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + clientKeySecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + clientKeySecretRef+: { + namespace: value, + }, + }, + }, + '#withInsecureSkipVerify': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Disable target certificate validation. Defaults to false.\nDisable target certificate validation. Defaults to `false`.' } }, + withInsecureSkipVerify(value=true): { + insecureSkipVerify: value, + }, + '#withServerName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Used to verify the hostname for the targets.\nUsed to verify the hostname for the targets.' } }, + withServerName(value): { + serverName: value, + }, + }, + '#withValidHttpVersions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of valid HTTP versions. Options include HTTP/1.0, HTTP/1.1, HTTP/2.0\nList of valid HTTP versions. Options include `HTTP/1.0`, `HTTP/1.1`, `HTTP/2.0`' } }, + withValidHttpVersions(value): { + validHttpVersions: + (if std.isArray(value) + then value + else [value]), + }, + '#withValidHttpVersionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) List of valid HTTP versions. Options include HTTP/1.0, HTTP/1.1, HTTP/2.0\nList of valid HTTP versions. Options include `HTTP/1.0`, `HTTP/1.1`, `HTTP/2.0`' } }, + withValidHttpVersionsMixin(value): { + validHttpVersions+: + (if std.isArray(value) + then value + else [value]), + }, + '#withValidStatusCodes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) Accepted status codes. If unset, defaults to 2xx.\nAccepted status codes. If unset, defaults to 2xx.' } }, + withValidStatusCodes(value): { + validStatusCodes: + (if std.isArray(value) + then value + else [value]), + }, + '#withValidStatusCodesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of Number) Accepted status codes. If unset, defaults to 2xx.\nAccepted status codes. If unset, defaults to 2xx.' } }, + withValidStatusCodesMixin(value): { + validStatusCodes+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withMultihttp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for MultiHTTP check. The target must be a URL (http or https) (see below for nested schema)\nSettings for MultiHTTP check. The target must be a URL (http or https)' } }, + withMultihttp(value): { + multihttp: + (if std.isArray(value) + then value + else [value]), + }, + '#withMultihttpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for MultiHTTP check. The target must be a URL (http or https) (see below for nested schema)\nSettings for MultiHTTP check. The target must be a URL (http or https)' } }, + withMultihttpMixin(value): { + multihttp+: + (if std.isArray(value) + then value + else [value]), + }, + multihttp+: + { + '#': { help: '', name: 'multihttp' }, + '#withEntries': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) (see below for nested schema)' } }, + withEntries(value): { + entries: + (if std.isArray(value) + then value + else [value]), + }, + '#withEntriesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) (see below for nested schema)' } }, + withEntriesMixin(value): { + entries+: + (if std.isArray(value) + then value + else [value]), + }, + entries+: + { + '#': { help: '', name: 'entries' }, + '#withAssertions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Assertions to make on the request response (see below for nested schema)\nAssertions to make on the request response' } }, + withAssertions(value): { + assertions: + (if std.isArray(value) + then value + else [value]), + }, + '#withAssertionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Assertions to make on the request response (see below for nested schema)\nAssertions to make on the request response' } }, + withAssertionsMixin(value): { + assertions+: + (if std.isArray(value) + then value + else [value]), + }, + assertions+: + { + '#': { help: '', name: 'assertions' }, + '#withCondition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The condition of the assertion: NOT_CONTAINS, EQUALS, STARTS_WITH, ENDS_WITH, TYPE_OF, CONTAINS\nThe condition of the assertion: NOT_CONTAINS, EQUALS, STARTS_WITH, ENDS_WITH, TYPE_OF, CONTAINS' } }, + withCondition(value): { + condition: value, + }, + '#withExpression': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The expression of the assertion. Should start with $.\nThe expression of the assertion. Should start with $.' } }, + withExpression(value): { + expression: value, + }, + '#withSubject': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The subject of the assertion: RESPONSE_HEADERS, HTTP_STATUS_CODE, RESPONSE_BODY\nThe subject of the assertion: RESPONSE_HEADERS, HTTP_STATUS_CODE, RESPONSE_BODY' } }, + withSubject(value): { + subject: value, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of assertion to make: TEXT, JSON_PATH_VALUE, JSON_PATH_ASSERTION, REGEX_ASSERTION\nThe type of assertion to make: TEXT, JSON_PATH_VALUE, JSON_PATH_ASSERTION, REGEX_ASSERTION' } }, + withType(value): { + type: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The value of the assertion\nThe value of the assertion' } }, + withValue(value): { + value: value, + }, + }, + '#withRequest': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) An individual MultiHTTP request (see below for nested schema)\nAn individual MultiHTTP request' } }, + withRequest(value): { + request: + (if std.isArray(value) + then value + else [value]), + }, + '#withRequestMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) An individual MultiHTTP request (see below for nested schema)\nAn individual MultiHTTP request' } }, + withRequestMixin(value): { + request+: + (if std.isArray(value) + then value + else [value]), + }, + request+: + { + '#': { help: '', name: 'request' }, + '#withBody': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(String) The body of the HTTP request used in probe.\nThe body of the HTTP request used in probe.' } }, + withBody(value): { + body: + (if std.isArray(value) + then value + else [value]), + }, + '#withBodyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(String) The body of the HTTP request used in probe.\nThe body of the HTTP request used in probe.' } }, + withBodyMixin(value): { + body+: + (if std.isArray(value) + then value + else [value]), + }, + body+: + { + '#': { help: '', name: 'body' }, + '#withContentEncoding': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The content encoding of the body\nThe content encoding of the body' } }, + withContentEncoding(value): { + contentEncoding: value, + }, + '#withContentType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The content type of the body\nThe content type of the body' } }, + withContentType(value): { + contentType: value, + }, + '#withPayload': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The body payload\nThe body payload' } }, + withPayload(value): { + payload: value, + }, + }, + '#withHeaders': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers set for the probe.\nThe headers to send with the request' } }, + withHeaders(value): { + headers: + (if std.isArray(value) + then value + else [value]), + }, + '#withHeadersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Set of String) The HTTP headers set for the probe.\nThe headers to send with the request' } }, + withHeadersMixin(value): { + headers+: + (if std.isArray(value) + then value + else [value]), + }, + headers+: + { + '#': { help: '', name: 'headers' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the header to send\nName of the header to send' } }, + withName(value): { + name: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The value of the assertion\nValue of the header to send' } }, + withValue(value): { + value: value, + }, + }, + '#withMethod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Request method. One of GET, CONNECT, DELETE, HEAD, OPTIONS, POST, PUT, TRACE Defaults to GET.\nThe HTTP method to use' } }, + withMethod(value): { + method: value, + }, + '#withQueryFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Query fields to send with the request (see below for nested schema)\nQuery fields to send with the request' } }, + withQueryFields(value): { + queryFields: + (if std.isArray(value) + then value + else [value]), + }, + '#withQueryFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) Query fields to send with the request (see below for nested schema)\nQuery fields to send with the request' } }, + withQueryFieldsMixin(value): { + queryFields+: + (if std.isArray(value) + then value + else [value]), + }, + queryFields+: + { + '#': { help: '', name: 'queryFields' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the header to send\nName of the query field to send' } }, + withName(value): { + name: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The value of the assertion\nValue of the query field to send' } }, + withValue(value): { + value: value, + }, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The URL for the request\nThe URL for the request' } }, + withUrl(value): { + url: value, + }, + }, + '#withVariables': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Variables to extract from the request response (see below for nested schema)\nVariables to extract from the request response' } }, + withVariables(value): { + variables: + (if std.isArray(value) + then value + else [value]), + }, + '#withVariablesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List) Variables to extract from the request response (see below for nested schema)\nVariables to extract from the request response' } }, + withVariablesMixin(value): { + variables+: + (if std.isArray(value) + then value + else [value]), + }, + variables+: + { + '#': { help: '', name: 'variables' }, + '#withAttribute': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The attribute to use when finding the variable value. Only used when type is CSS_SELECTOR\nThe attribute to use when finding the variable value. Only used when type is CSS_SELECTOR' } }, + withAttribute(value): { + attribute: value, + }, + '#withExpression': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The expression of the assertion. Should start with $.\nThe expression to when finding the variable. Should start with $. Only use when type is JSON_PATH or REGEX' } }, + withExpression(value): { + expression: value, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the header to send\nThe name of the variable to extract' } }, + withName(value): { + name: value, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The type of assertion to make: TEXT, JSON_PATH_VALUE, JSON_PATH_ASSERTION, REGEX_ASSERTION\nThe method of finding the variable value to extract. JSON_PATH, REGEX, CSS_SELECTOR' } }, + withType(value): { + type: value, + }, + }, + }, + }, + '#withPing': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for ping (ICMP) check. The target must be a valid hostname or IP address. (see below for nested schema)\nSettings for ping (ICMP) check. The target must be a valid hostname or IP address.' } }, + withPing(value): { + ping: + (if std.isArray(value) + then value + else [value]), + }, + '#withPingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for ping (ICMP) check. The target must be a valid hostname or IP address. (see below for nested schema)\nSettings for ping (ICMP) check. The target must be a valid hostname or IP address.' } }, + withPingMixin(value): { + ping+: + (if std.isArray(value) + then value + else [value]), + }, + ping+: + { + '#': { help: '', name: 'ping' }, + '#withDontFragment': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'bit in the IP-header. Only works with ipV4. Defaults to false.\nSet the DF-bit in the IP-header. Only works with ipV4. Defaults to `false`.' } }, + withDontFragment(value=true): { + dontFragment: value, + }, + '#withIpVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." } }, + withIpVersion(value): { + ipVersion: value, + }, + '#withPayloadSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Payload size. Defaults to 0.\nPayload size. Defaults to `0`.' } }, + withPayloadSize(value): { + payloadSize: value, + }, + '#withSourceIpAddress': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Source IP address.\nSource IP address.' } }, + withSourceIpAddress(value): { + sourceIpAddress: value, + }, + }, + '#withScripted': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema)\nSettings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/.' } }, + withScripted(value): { + scripted: + (if std.isArray(value) + then value + else [value]), + }, + '#withScriptedMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema)\nSettings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/.' } }, + withScriptedMixin(value): { + scripted+: + (if std.isArray(value) + then value + else [value]), + }, + scripted+: + { + '#': { help: '', name: 'scripted' }, + '#withScript': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withScript(value): { + script: value, + }, + }, + '#withTcp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for TCP check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for TCP check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address.' } }, + withTcp(value): { + tcp: + (if std.isArray(value) + then value + else [value]), + }, + '#withTcpMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for TCP check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for TCP check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address.' } }, + withTcpMixin(value): { + tcp+: + (if std.isArray(value) + then value + else [value]), + }, + tcp+: + { + '#': { help: '', name: 'tcp' }, + '#withIpVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." } }, + withIpVersion(value): { + ipVersion: value, + }, + '#withQueryResponse': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The query sent in the TCP probe and the expected associated response. (see below for nested schema)\nThe query sent in the TCP probe and the expected associated response.' } }, + withQueryResponse(value): { + queryResponse: + (if std.isArray(value) + then value + else [value]), + }, + '#withQueryResponseMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set) The query sent in the TCP probe and the expected associated response. (see below for nested schema)\nThe query sent in the TCP probe and the expected associated response.' } }, + withQueryResponseMixin(value): { + queryResponse+: + (if std.isArray(value) + then value + else [value]), + }, + queryResponse+: + { + '#': { help: '', name: 'queryResponse' }, + '#withExpect': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Response to expect.\nResponse to expect.' } }, + withExpect(value): { + expect: value, + }, + '#withSend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Data to send.\nData to send.' } }, + withSend(value): { + send: value, + }, + '#withStartTls': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Upgrade TCP connection to TLS. Defaults to false.\nUpgrade TCP connection to TLS. Defaults to `false`.' } }, + withStartTls(value=true): { + startTls: value, + }, + }, + '#withSourceIpAddress': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Source IP address.\nSource IP address.' } }, + withSourceIpAddress(value): { + sourceIpAddress: value, + }, + '#withTls': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Whether or not TLS is used when the connection is initiated. Defaults to false.\nWhether or not TLS is used when the connection is initiated. Defaults to `false`.' } }, + withTls(value=true): { + tls: value, + }, + '#withTlsConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, + withTlsConfig(value): { + tlsConfig: + (if std.isArray(value) + then value + else [value]), + }, + '#withTlsConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config.' } }, + withTlsConfigMixin(value): { + tlsConfig+: + (if std.isArray(value) + then value + else [value]), + }, + tlsConfig+: + { + '#': { help: '', name: 'tlsConfig' }, + '#withCaCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) CA certificate in PEM format.\nCA certificate in PEM format.' } }, + withCaCert(value): { + caCert: value, + }, + '#withClientCert': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Client certificate in PEM format.\nClient certificate in PEM format.' } }, + withClientCert(value): { + clientCert: value, + }, + '#withClientKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, + withClientKeySecretRef(value): { + clientKeySecretRef: value, + }, + '#withClientKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) Client key in PEM format.\nClient key in PEM format.' } }, + withClientKeySecretRefMixin(value): { + clientKeySecretRef+: value, + }, + clientKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + clientKeySecretRef+: { + key: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + clientKeySecretRef+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + clientKeySecretRef+: { + namespace: value, + }, + }, + }, + '#withInsecureSkipVerify': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Disable target certificate validation. Defaults to false.\nDisable target certificate validation. Defaults to `false`.' } }, + withInsecureSkipVerify(value=true): { + insecureSkipVerify: value, + }, + '#withServerName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Used to verify the hostname for the targets.\nUsed to verify the hostname for the targets.' } }, + withServerName(value): { + serverName: value, + }, + }, + }, + '#withTraceroute': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for traceroute check. The target must be a valid hostname or IP address (see below for nested schema)\nSettings for traceroute check. The target must be a valid hostname or IP address' } }, + withTraceroute(value): { + traceroute: + (if std.isArray(value) + then value + else [value]), + }, + '#withTracerouteMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block Set, Max: 1) Settings for traceroute check. The target must be a valid hostname or IP address (see below for nested schema)\nSettings for traceroute check. The target must be a valid hostname or IP address' } }, + withTracerouteMixin(value): { + traceroute+: + (if std.isArray(value) + then value + else [value]), + }, + traceroute+: + { + '#': { help: '', name: 'traceroute' }, + '#withMaxHops': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Maximum TTL for the trace Defaults to 64.\nMaximum TTL for the trace Defaults to `64`.' } }, + withMaxHops(value): { + maxHops: value, + }, + '#withMaxUnknownHops': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Maximum number of hosts to travers that give no response Defaults to 15.\nMaximum number of hosts to travers that give no response Defaults to `15`.' } }, + withMaxUnknownHops(value): { + maxUnknownHops: value, + }, + '#withPtrLookup': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Reverse lookup hostnames from IP addresses Defaults to true.\nReverse lookup hostnames from IP addresses Defaults to `true`.' } }, + withPtrLookup(value=true): { + ptrLookup: value, + }, + }, + }, + '#withTarget': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Hostname to ping.\nHostname to ping.' } }, + withTarget(value): { + spec+: { + parameters+: { + initProvider+: { + target: value, + }, + }, + }, + }, + '#withTimeout': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to 3000.\nSpecifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to `3000`.' } }, + withTimeout(value): { + spec+: { + parameters+: { + initProvider+: { + timeout: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/sm/v1alpha1/check/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/sm/v1alpha1/check/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/sm/v1alpha1/check/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/sm/v1alpha1/installation/main.libsonnet b/grafanaplane/sm/v1alpha1/installation/main.libsonnet new file mode 100644 index 0000000..1adb185 --- /dev/null +++ b/grafanaplane/sm/v1alpha1/installation/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'installation' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'sm.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'Installation', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/sm/v1alpha1/installation/metadata/main.libsonnet b/grafanaplane/sm/v1alpha1/installation/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/sm/v1alpha1/installation/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/sm/v1alpha1/installation/spec/compositionRef.libsonnet b/grafanaplane/sm/v1alpha1/installation/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/sm/v1alpha1/installation/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/sm/v1alpha1/installation/spec/compositionRevisionRef.libsonnet b/grafanaplane/sm/v1alpha1/installation/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/sm/v1alpha1/installation/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/sm/v1alpha1/installation/spec/compositionSelector.libsonnet b/grafanaplane/sm/v1alpha1/installation/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/sm/v1alpha1/installation/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/sm/v1alpha1/installation/spec/main.libsonnet b/grafanaplane/sm/v1alpha1/installation/spec/main.libsonnet new file mode 100644 index 0000000..d597a10 --- /dev/null +++ b/grafanaplane/sm/v1alpha1/installation/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'InstallationSpec defines the desired state of Installation' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'InstallationSpec defines the desired state of Installation' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/sm/v1alpha1/installation/spec/parameters.libsonnet b/grafanaplane/sm/v1alpha1/installation/spec/parameters.libsonnet new file mode 100644 index 0000000..8d7c50c --- /dev/null +++ b/grafanaplane/sm/v1alpha1/installation/spec/parameters.libsonnet @@ -0,0 +1,953 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withCloudStackRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackId.' } }, + withCloudStackRef(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef: value, + }, + }, + }, + }, + '#withCloudStackRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackId.' } }, + withCloudStackRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: value, + }, + }, + }, + }, + cloudStackRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withCloudStackSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackId.' } }, + withCloudStackSelector(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector: value, + }, + }, + }, + }, + '#withCloudStackSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackId.' } }, + withCloudStackSelectorMixin(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: value, + }, + }, + }, + }, + cloudStackSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + forProvider+: { + cloudStackSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetricsPublisherKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Grafana Cloud access policy with the following scopes: stacks:read, metrics:write, logs:write, traces:write. This is used to publish metrics and logs to Grafana Cloud stack.\nThe [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.' } }, + withMetricsPublisherKeySecretRef(value): { + spec+: { + parameters+: { + forProvider+: { + metricsPublisherKeySecretRef: value, + }, + }, + }, + }, + '#withMetricsPublisherKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Grafana Cloud access policy with the following scopes: stacks:read, metrics:write, logs:write, traces:write. This is used to publish metrics and logs to Grafana Cloud stack.\nThe [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.' } }, + withMetricsPublisherKeySecretRefMixin(value): { + spec+: { + parameters+: { + forProvider+: { + metricsPublisherKeySecretRef+: value, + }, + }, + }, + }, + metricsPublisherKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + spec+: { + parameters+: { + forProvider+: { + metricsPublisherKeySecretRef+: { + key: value, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + metricsPublisherKeySecretRef+: { + name: value, + }, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + forProvider+: { + metricsPublisherKeySecretRef+: { + namespace: value, + }, + }, + }, + }, + }, + }, + '#withStackId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID or slug of the stack to install SM on.\nThe ID or slug of the stack to install SM on.' } }, + withStackId(value): { + spec+: { + parameters+: { + forProvider+: { + stackId: value, + }, + }, + }, + }, + '#withStackSmApiUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.\nThe URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable." } }, + withStackSmApiUrl(value): { + spec+: { + parameters+: { + forProvider+: { + stackSmApiUrl: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withCloudStackRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackId.' } }, + withCloudStackRef(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef: value, + }, + }, + }, + }, + '#withCloudStackRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reference to a Stack in cloud to populate stackId.' } }, + withCloudStackRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: value, + }, + }, + }, + }, + cloudStackRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withCloudStackSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackId.' } }, + withCloudStackSelector(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector: value, + }, + }, + }, + }, + '#withCloudStackSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Selector for a Stack in cloud to populate stackId.' } }, + withCloudStackSelectorMixin(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: value, + }, + }, + }, + }, + cloudStackSelector+: + { + '#withMatchControllerRef': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.' } }, + withMatchControllerRef(value=true): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + matchControllerRef: value, + }, + }, + }, + }, + }, + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabels(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + matchLabels: value, + }, + }, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchLabels ensures an object with matching labels is selected.' } }, + withMatchLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + matchLabels+: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicy(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for selection.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + initProvider+: { + cloudStackSelector+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetricsPublisherKeySecretRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Grafana Cloud access policy with the following scopes: stacks:read, metrics:write, logs:write, traces:write. This is used to publish metrics and logs to Grafana Cloud stack.\nThe [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.' } }, + withMetricsPublisherKeySecretRef(value): { + spec+: { + parameters+: { + initProvider+: { + metricsPublisherKeySecretRef: value, + }, + }, + }, + }, + '#withMetricsPublisherKeySecretRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(String, Sensitive) The Grafana Cloud access policy with the following scopes: stacks:read, metrics:write, logs:write, traces:write. This is used to publish metrics and logs to Grafana Cloud stack.\nThe [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.' } }, + withMetricsPublisherKeySecretRefMixin(value): { + spec+: { + parameters+: { + initProvider+: { + metricsPublisherKeySecretRef+: value, + }, + }, + }, + }, + metricsPublisherKeySecretRef+: + { + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The key to select.' } }, + withKey(value): { + spec+: { + parameters+: { + initProvider+: { + metricsPublisherKeySecretRef+: { + key: value, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + metricsPublisherKeySecretRef+: { + name: value, + }, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + initProvider+: { + metricsPublisherKeySecretRef+: { + namespace: value, + }, + }, + }, + }, + }, + }, + '#withStackId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The ID or slug of the stack to install SM on.\nThe ID or slug of the stack to install SM on.' } }, + withStackId(value): { + spec+: { + parameters+: { + initProvider+: { + stackId: value, + }, + }, + }, + }, + '#withStackSmApiUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.\nThe URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable." } }, + withStackSmApiUrl(value): { + spec+: { + parameters+: { + initProvider+: { + stackSmApiUrl: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/sm/v1alpha1/installation/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/sm/v1alpha1/installation/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/sm/v1alpha1/installation/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +} diff --git a/grafanaplane/sm/v1alpha1/main.libsonnet b/grafanaplane/sm/v1alpha1/main.libsonnet new file mode 100644 index 0000000..f58309c --- /dev/null +++ b/grafanaplane/sm/v1alpha1/main.libsonnet @@ -0,0 +1,5 @@ +{ + check+: import './check/main.libsonnet', + installation+: import './installation/main.libsonnet', + probe+: import './probe/main.libsonnet', +} diff --git a/grafanaplane/sm/v1alpha1/probe/main.libsonnet b/grafanaplane/sm/v1alpha1/probe/main.libsonnet new file mode 100644 index 0000000..017a936 --- /dev/null +++ b/grafanaplane/sm/v1alpha1/probe/main.libsonnet @@ -0,0 +1,34 @@ +{ + '#': { help: '', name: 'probe' }, + '#new': { 'function': { args: [{ default: null, enums: null, name: 'name', type: 'string' }], help: '`new` creates a new instance' } }, + new(name): + self.withApiVersion() + + self.withKind() + + self.metadata.withName(name), + '#withApiVersion': { 'function': { args: [], help: '' } }, + withApiVersion(): { + apiVersion: 'sm.grafana.crossplane.io.namespaced/v1alpha1', + }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + kind: 'Probe', + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadata(value): { + metadata: value, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.' } }, + withMetadataMixin(value): { + metadata+: value, + }, + metadata+: import './metadata/main.libsonnet', + '#withSpec': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpec(value): { + spec: value, + }, + '#withSpecMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSpecMixin(value): { + spec+: value, + }, + spec+: import './spec/main.libsonnet', +} diff --git a/grafanaplane/sm/v1alpha1/probe/metadata/main.libsonnet b/grafanaplane/sm/v1alpha1/probe/metadata/main.libsonnet new file mode 100644 index 0000000..ff4a2c4 --- /dev/null +++ b/grafanaplane/sm/v1alpha1/probe/metadata/main.libsonnet @@ -0,0 +1,146 @@ +{ + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotations(value): { + metadata+: { + annotations: value, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' } }, + withAnnotationsMixin(value): { + metadata+: { + annotations+: value, + }, + }, + '#withClusterName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.' } }, + withClusterName(value): { + metadata+: { + clusterName: value, + }, + }, + '#withCreationTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withCreationTimestamp(value): { + metadata+: { + creationTimestamp: value, + }, + }, + '#withDeletionGracePeriodSeconds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.' } }, + withDeletionGracePeriodSeconds(value): { + metadata+: { + deletionGracePeriodSeconds: value, + }, + }, + '#withDeletionTimestamp': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' } }, + withDeletionTimestamp(value): { + metadata+: { + deletionTimestamp: value, + }, + }, + '#withFinalizers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizers(value): { + metadata+: { + finalizers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFinalizersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.' } }, + withFinalizersMixin(value): { + metadata+: { + finalizers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGenerateName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency' } }, + withGenerateName(value): { + metadata+: { + generateName: value, + }, + }, + '#withGeneration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.' } }, + withGeneration(value): { + metadata+: { + generation: value, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabels(value): { + metadata+: { + labels: value, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' } }, + withLabelsMixin(value): { + metadata+: { + labels+: value, + }, + }, + '#withManagedFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFields(value): { + metadata+: { + managedFields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withManagedFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." } }, + withManagedFieldsMixin(value): { + metadata+: { + managedFields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' } }, + withName(value): { + metadata+: { + name: value, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' } }, + withNamespace(value): { + metadata+: { + namespace: value, + }, + }, + '#withOwnerReferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferences(value): { + metadata+: { + ownerReferences: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withOwnerReferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.' } }, + withOwnerReferencesMixin(value): { + metadata+: { + ownerReferences+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResourceVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' } }, + withResourceVersion(value): { + metadata+: { + resourceVersion: value, + }, + }, + '#withSelfLink': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.' } }, + withSelfLink(value): { + metadata+: { + selfLink: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' } }, + withUid(value): { + metadata+: { + uid: value, + }, + }, +} diff --git a/grafanaplane/sm/v1alpha1/probe/spec/compositionRef.libsonnet b/grafanaplane/sm/v1alpha1/probe/spec/compositionRef.libsonnet new file mode 100644 index 0000000..5ae24ad --- /dev/null +++ b/grafanaplane/sm/v1alpha1/probe/spec/compositionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/sm/v1alpha1/probe/spec/compositionRevisionRef.libsonnet b/grafanaplane/sm/v1alpha1/probe/spec/compositionRevisionRef.libsonnet new file mode 100644 index 0000000..48b85b3 --- /dev/null +++ b/grafanaplane/sm/v1alpha1/probe/spec/compositionRevisionRef.libsonnet @@ -0,0 +1,10 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + compositionRevisionRef+: { + name: value, + }, + }, + }, +} diff --git a/grafanaplane/sm/v1alpha1/probe/spec/compositionSelector.libsonnet b/grafanaplane/sm/v1alpha1/probe/spec/compositionSelector.libsonnet new file mode 100644 index 0000000..df1fb03 --- /dev/null +++ b/grafanaplane/sm/v1alpha1/probe/spec/compositionSelector.libsonnet @@ -0,0 +1,18 @@ +{ + '#withMatchLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabels(value): { + spec+: { + compositionSelector+: { + matchLabels: value, + }, + }, + }, + '#withMatchLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMatchLabelsMixin(value): { + spec+: { + compositionSelector+: { + matchLabels+: value, + }, + }, + }, +} diff --git a/grafanaplane/sm/v1alpha1/probe/spec/main.libsonnet b/grafanaplane/sm/v1alpha1/probe/spec/main.libsonnet new file mode 100644 index 0000000..c63f883 --- /dev/null +++ b/grafanaplane/sm/v1alpha1/probe/spec/main.libsonnet @@ -0,0 +1,73 @@ +{ + '#withCompositionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRef(value): { + spec+: { + compositionRef: value, + }, + }, + '#withCompositionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRefMixin(value): { + spec+: { + compositionRef+: value, + }, + }, + compositionRef+: import './compositionRef.libsonnet', + '#withCompositionRevisionRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRef(value): { + spec+: { + compositionRevisionRef: value, + }, + }, + '#withCompositionRevisionRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionRevisionRefMixin(value): { + spec+: { + compositionRevisionRef+: value, + }, + }, + compositionRevisionRef+: import './compositionRevisionRef.libsonnet', + '#withCompositionSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelector(value): { + spec+: { + compositionSelector: value, + }, + }, + '#withCompositionSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCompositionSelectorMixin(value): { + spec+: { + compositionSelector+: value, + }, + }, + compositionSelector+: import './compositionSelector.libsonnet', + '#withCompositionUpdatePolicy': { 'function': { args: [{ default: null, enums: ['Automatic', 'Manual'], name: 'value', type: ['string'] }], help: '' } }, + withCompositionUpdatePolicy(value): { + spec+: { + compositionUpdatePolicy: value, + }, + }, + '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ProbeSpec defines the desired state of Probe' } }, + withParameters(value): { + spec+: { + parameters: value, + }, + }, + '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ProbeSpec defines the desired state of Probe' } }, + withParametersMixin(value): { + spec+: { + parameters+: value, + }, + }, + parameters+: import './parameters.libsonnet', + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + writeConnectionSecretToRef: value, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + writeConnectionSecretToRef+: value, + }, + }, + writeConnectionSecretToRef+: import './writeConnectionSecretToRef.libsonnet', +} diff --git a/grafanaplane/sm/v1alpha1/probe/spec/parameters.libsonnet b/grafanaplane/sm/v1alpha1/probe/spec/parameters.libsonnet new file mode 100644 index 0000000..b2cedf9 --- /dev/null +++ b/grafanaplane/sm/v1alpha1/probe/spec/parameters.libsonnet @@ -0,0 +1,547 @@ +{ + '#withDeletionPolicy': { 'function': { args: [{ default: 'Delete', enums: ['Orphan', 'Delete'], name: 'value', type: ['string'] }], help: 'DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either "Delete" or "Orphan" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' } }, + withDeletionPolicy(value='Delete'): { + spec+: { + parameters+: { + deletionPolicy: value, + }, + }, + }, + '#withForProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProvider(value): { + spec+: { + parameters+: { + forProvider: value, + }, + }, + }, + '#withForProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withForProviderMixin(value): { + spec+: { + parameters+: { + forProvider+: value, + }, + }, + }, + forProvider+: + { + '#withDisableScriptedChecks': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Disables scripted checks for this probe. Defaults to false.\nDisables scripted checks for this probe. Defaults to `false`.' } }, + withDisableScriptedChecks(value=true): { + spec+: { + parameters+: { + forProvider+: { + disableScriptedChecks: value, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Custom labels to be included with collected metrics and logs.\nCustom labels to be included with collected metrics and logs.' } }, + withLabels(value): { + spec+: { + parameters+: { + forProvider+: { + labels: value, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Custom labels to be included with collected metrics and logs.\nCustom labels to be included with collected metrics and logs.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + forProvider+: { + labels+: value, + }, + }, + }, + }, + '#withLatitude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Latitude coordinates.\nLatitude coordinates.' } }, + withLatitude(value): { + spec+: { + parameters+: { + forProvider+: { + latitude: value, + }, + }, + }, + }, + '#withLongitude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Longitude coordinates.\nLongitude coordinates.' } }, + withLongitude(value): { + spec+: { + parameters+: { + forProvider+: { + longitude: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the probe.\nName of the probe.' } }, + withName(value): { + spec+: { + parameters+: { + forProvider+: { + name: value, + }, + }, + }, + }, + '#withPublic': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Public probes are run by Grafana Labs and can be used by all users. Only Grafana Labs managed public probes will be set to true. Defaults to false.\nPublic probes are run by Grafana Labs and can be used by all users. Only Grafana Labs managed public probes will be set to `true`. Defaults to `false`.' } }, + withPublic(value=true): { + spec+: { + parameters+: { + forProvider+: { + public: value, + }, + }, + }, + }, + '#withRegion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Region of the probe.\nRegion of the probe.' } }, + withRegion(value): { + spec+: { + parameters+: { + forProvider+: { + region: value, + }, + }, + }, + }, + }, + '#withInitProvider': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProvider(value): { + spec+: { + parameters+: { + initProvider: value, + }, + }, + }, + '#withInitProviderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.' } }, + withInitProviderMixin(value): { + spec+: { + parameters+: { + initProvider+: value, + }, + }, + }, + initProvider+: + { + '#withDisableScriptedChecks': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Disables scripted checks for this probe. Defaults to false.\nDisables scripted checks for this probe. Defaults to `false`.' } }, + withDisableScriptedChecks(value=true): { + spec+: { + parameters+: { + initProvider+: { + disableScriptedChecks: value, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Custom labels to be included with collected metrics and logs.\nCustom labels to be included with collected metrics and logs.' } }, + withLabels(value): { + spec+: { + parameters+: { + initProvider+: { + labels: value, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '(Map of String) Custom labels to be included with collected metrics and logs.\nCustom labels to be included with collected metrics and logs.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + initProvider+: { + labels+: value, + }, + }, + }, + }, + '#withLatitude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Latitude coordinates.\nLatitude coordinates.' } }, + withLatitude(value): { + spec+: { + parameters+: { + initProvider+: { + latitude: value, + }, + }, + }, + }, + '#withLongitude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number) Longitude coordinates.\nLongitude coordinates.' } }, + withLongitude(value): { + spec+: { + parameters+: { + initProvider+: { + longitude: value, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Name of the probe.\nName of the probe.' } }, + withName(value): { + spec+: { + parameters+: { + initProvider+: { + name: value, + }, + }, + }, + }, + '#withPublic': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) Public probes are run by Grafana Labs and can be used by all users. Only Grafana Labs managed public probes will be set to true. Defaults to false.\nPublic probes are run by Grafana Labs and can be used by all users. Only Grafana Labs managed public probes will be set to `true`. Defaults to `false`.' } }, + withPublic(value=true): { + spec+: { + parameters+: { + initProvider+: { + public: value, + }, + }, + }, + }, + '#withRegion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Region of the probe.\nRegion of the probe.' } }, + withRegion(value): { + spec+: { + parameters+: { + initProvider+: { + region: value, + }, + }, + }, + }, + }, + '#withManagementPolicies': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPolicies(value): { + spec+: { + parameters+: { + managementPolicies: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withManagementPoliciesMixin': { 'function': { args: [{ default: ['*'], enums: null, name: 'value', type: ['array'] }], help: 'THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nThis field is planned to replace the DeletionPolicy field in a future\nrelease. Currently, both could be set independently and non-default\nvalues would be honored if the feature flag is enabled. If both are\ncustom, the DeletionPolicy field will be ignored.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' } }, + withManagementPoliciesMixin(value): { + spec+: { + parameters+: { + managementPolicies+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withProviderConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + providerConfigRef: value, + }, + }, + }, + '#withProviderConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.' } }, + withProviderConfigRefMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: value, + }, + }, + }, + providerConfigRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + providerConfigRef+: { + name: value, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy: value, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: value, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + providerConfigRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + '#withPublishConnectionDetailsTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsTo(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo: value, + }, + }, + }, + '#withPublishConnectionDetailsToMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource.' } }, + withPublishConnectionDetailsToMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: value, + }, + }, + }, + publishConnectionDetailsTo+: + { + '#withConfigRef': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRef(value={ name: 'default' }): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef: value, + }, + }, + }, + }, + '#withConfigRefMixin': { 'function': { args: [{ default: { name: 'default' }, enums: null, name: 'value', type: ['object'] }], help: 'SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret.' } }, + withConfigRefMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: value, + }, + }, + }, + }, + configRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the referenced object.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + name: value, + }, + }, + }, + }, + }, + '#withPolicy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicy(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy: value, + }, + }, + }, + }, + }, + '#withPolicyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Policies for referencing.' } }, + withPolicyMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: value, + }, + }, + }, + }, + }, + policy+: + { + '#withResolution': { 'function': { args: [{ default: 'Required', enums: ['Required', 'Optional'], name: 'value', type: ['string'] }], help: "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." } }, + withResolution(value='Required'): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolution: value, + }, + }, + }, + }, + }, + }, + '#withResolve': { 'function': { args: [{ default: null, enums: ['Always', 'IfNotPresent'], name: 'value', type: ['string'] }], help: "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." } }, + withResolve(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + configRef+: { + policy+: { + resolve: value, + }, + }, + }, + }, + }, + }, + }, + }, + '#withMetadata': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadata(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata: value, + }, + }, + }, + }, + '#withMetadataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Metadata is the metadata for connection secret.' } }, + withMetadataMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: value, + }, + }, + }, + }, + metadata+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotations(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations: value, + }, + }, + }, + }, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.annotations".\n- It is up to Secret Store implementation for others store types.' } }, + withAnnotationsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + annotations+: value, + }, + }, + }, + }, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabels(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels: value, + }, + }, + }, + }, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as "metadata.labels".\n- It is up to Secret Store implementation for others store types.' } }, + withLabelsMixin(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + labels+: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores.' } }, + withType(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + metadata+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is the name of the connection secret.' } }, + withName(value): { + spec+: { + parameters+: { + publishConnectionDetailsTo+: { + name: value, + }, + }, + }, + }, + }, + '#withWriteConnectionSecretToRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRef(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef: value, + }, + }, + }, + '#withWriteConnectionSecretToRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other.' } }, + withWriteConnectionSecretToRefMixin(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: value, + }, + }, + }, + writeConnectionSecretToRef+: + { + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the secret.' } }, + withName(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Namespace of the secret.' } }, + withNamespace(value): { + spec+: { + parameters+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, + }, + }, +} diff --git a/grafanaplane/sm/v1alpha1/probe/spec/writeConnectionSecretToRef.libsonnet b/grafanaplane/sm/v1alpha1/probe/spec/writeConnectionSecretToRef.libsonnet new file mode 100644 index 0000000..7f92726 --- /dev/null +++ b/grafanaplane/sm/v1alpha1/probe/spec/writeConnectionSecretToRef.libsonnet @@ -0,0 +1,18 @@ +{ + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + spec+: { + writeConnectionSecretToRef+: { + name: value, + }, + }, + }, + '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withNamespace(value): { + spec+: { + writeConnectionSecretToRef+: { + namespace: value, + }, + }, + }, +}